:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f4f0;--surface:#fff;--surface-2:#f2f0eb;--surface-3:#e6e3dc;--border:#e0ddd5;--border-strong:#c8c3b8;--fg:#1c1b19;--fg-muted:#625e56;--fg-faint:#78736a;--accent:#2b5797;--accent-hover:#234a82;--accent-fg:#fff;--accent-soft:#e4ecf7;--selection:#2b579738;--danger:#b42318;--danger-fg:#fff;--del-bg:#fdeeed;--del-gutter:#f9dedb;--del-mark:#f5b9b4;--del-fg:#a3261b;--ins-bg:#e8f5ec;--ins-gutter:#d4ecdc;--ins-mark:#a6dbb5;--ins-fg:#1b6b33;--empty-stripe:#1c1b190b;--syn-keyword:#8f2486;--syn-string:#9a4600;--syn-number:#1a50a0;--syn-comment:#6c675e;--syn-title:#6436a0;--syn-attr:#0b5683;--syn-type:#0a6767;--syn-meta:#6c675e;--syn-tag:#8f2486;--syn-variable:#8a3a00;--syn-regexp:#a31d55;--font-ui:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;--font-code:ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;--code-size:13px;--lh:20px}@media screen and (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#121211;--surface:#1a1a18;--surface-2:#222220;--surface-3:#2d2c29;--border:#2f2e2b;--border-strong:#45433e;--fg:#ebe8e1;--fg-muted:#a7a399;--fg-faint:#8d897f;--accent:#86abe3;--accent-hover:#9dbcea;--accent-fg:#0e1828;--accent-soft:#1e2938;--selection:#86abe34d;--danger:#e0574c;--danger-fg:#1a0806;--del-bg:#e5534b21;--del-gutter:#e5534b33;--del-mark:#e5534b6b;--del-fg:#ff9e95;--ins-bg:#3fb9501f;--ins-gutter:#3fb95033;--ins-mark:#3fb95066;--ins-fg:#80e08f;--empty-stripe:#ffffff09;--syn-keyword:#e597da;--syn-string:#e8b882;--syn-number:#93baf2;--syn-comment:#8d897f;--syn-title:#c8a9f2;--syn-attr:#80c6ea;--syn-type:#74d3c8;--syn-meta:#8d897f;--syn-tag:#e597da;--syn-variable:#eaa67c;--syn-regexp:#f28dab}}@media screen{:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#121211;--surface:#1a1a18;--surface-2:#222220;--surface-3:#2d2c29;--border:#2f2e2b;--border-strong:#45433e;--fg:#ebe8e1;--fg-muted:#a7a399;--fg-faint:#8d897f;--accent:#86abe3;--accent-hover:#9dbcea;--accent-fg:#0e1828;--accent-soft:#1e2938;--selection:#86abe34d;--danger:#e0574c;--danger-fg:#1a0806;--del-bg:#e5534b21;--del-gutter:#e5534b33;--del-mark:#e5534b6b;--del-fg:#ff9e95;--ins-bg:#3fb9501f;--ins-gutter:#3fb95033;--ins-mark:#3fb95066;--ins-fg:#80e08f;--empty-stripe:#ffffff09;--syn-keyword:#e597da;--syn-string:#e8b882;--syn-number:#93baf2;--syn-comment:#8d897f;--syn-title:#c8a9f2;--syn-attr:#80c6ea;--syn-type:#74d3c8;--syn-meta:#8d897f;--syn-tag:#e597da;--syn-variable:#eaa67c;--syn-regexp:#f28dab}}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--fg);font:14px/1.45 var(--font-ui);-webkit-font-smoothing:antialiased;margin:0}::selection{background:var(--selection)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button,input,select,textarea{font:inherit;color:inherit}kbd{font:11px/1.5 var(--font-code);border:1px solid var(--border-strong);background:var(--surface);color:var(--fg);border-bottom-width:2px;border-radius:4px;padding:0 4px}.muted{color:var(--fg-muted);margin:0}.print-only{display:none}.icon{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;flex:none}.btn{border:1px solid var(--border-strong);background:var(--surface);height:32px;color:var(--fg);font:500 13px var(--font-ui);white-space:nowrap;cursor:pointer;border-radius:6px;align-items:center;gap:6px;padding:0 12px;display:inline-flex}.btn:hover:not(:disabled){background:var(--surface-2)}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-fg)}.btn.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.btn.ghost{background:0 0;border-color:#0000}.btn.ghost:hover:not(:disabled){background:var(--surface-2)}.btn.danger{background:var(--danger);border-color:var(--danger);color:var(--danger-fg)}.btn.sm{height:28px;padding:0 9px;font-size:12.5px}.btn.lg{height:40px;padding:0 20px;font-size:14px;font-weight:600}.btn:disabled{opacity:.5;cursor:not-allowed}.icon-btn{width:32px;height:32px;color:var(--fg-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex:none;place-items:center;padding:0;display:inline-grid}.icon-btn:hover:not(:disabled){background:var(--surface-2);color:var(--fg)}.icon-btn:disabled{opacity:.4;cursor:not-allowed}.icon-btn.sm{width:26px;height:26px}.link-btn{color:var(--accent);text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.count{background:var(--surface-3);text-align:center;font-variant-numeric:tabular-nums;border-radius:10px;min-width:20px;padding:0 6px;font-size:11.5px;line-height:18px;display:inline-block}.seg{border:1px solid var(--border-strong);background:var(--surface-2);border-radius:7px;padding:2px;display:inline-flex}.seg button{height:26px;color:var(--fg-muted);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:0 10px;font-size:13px;font-weight:500}.seg a{height:26px;color:var(--fg-muted);border-radius:5px;align-items:center;padding:0 10px;font-size:13px;font-weight:500;text-decoration:none;display:inline-flex}.seg button[aria-pressed=true],.seg a[aria-current=page]{background:var(--surface);color:var(--fg);box-shadow:0 0 0 1px var(--border-strong)}.select{color:var(--fg-muted);align-items:center;gap:6px;font-size:12.5px;display:inline-flex}.select select{border:1px solid var(--border-strong);background:var(--surface);max-width:190px;height:30px;color:var(--fg);cursor:pointer;border-radius:6px;padding:0 6px;font-size:13px}.toggle{cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:6px;align-items:center;gap:7px;height:28px;padding:0 8px;font-size:13px;display:inline-flex}.toggle:hover{background:var(--surface-2)}.toggle-box{border:1.5px solid var(--border-strong);background:var(--surface);border-radius:4px;place-items:center;width:15px;height:15px;display:grid}.toggle-box svg{fill:none;width:12px;height:12px;stroke:var(--accent-fg);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;opacity:0}.toggle[aria-pressed=true] .toggle-box{background:var(--accent);border-color:var(--accent)}.toggle[aria-pressed=true] .toggle-box svg{opacity:1}.input{border:1px solid var(--border-strong);background:var(--surface);border-radius:6px;width:100%;height:32px;padding:0 10px;font-size:13px}.input.mono{font-family:var(--font-code)}.input.invalid{border-color:var(--danger)}textarea.input{resize:vertical;height:auto;padding:8px 10px}.chip{border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;border-radius:13px;height:26px;padding:0 10px;font-size:12.5px}.chip:hover{background:var(--surface-2)}.stat{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.stat.del{color:var(--del-fg)}.stat.ins{color:var(--ins-fg)}.app{flex-direction:column;min-height:100vh;display:flex}.app[hidden]{display:none}.appbar{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:12px;padding:8px 24px;display:flex}.brand{color:inherit;align-items:center;gap:9px;text-decoration:none;display:inline-flex}.logo{width:24px;height:24px}.logo-l{fill:var(--del-gutter);stroke:var(--del-fg);stroke-width:1.2px}.logo-r{fill:var(--ins-gutter);stroke:var(--ins-fg);stroke-width:1.2px}.logo-line{stroke:var(--fg);stroke-width:1.5px;stroke-linecap:round}.brand-name{letter-spacing:-.01em;font-size:16px;font-weight:700}.tools{margin-left:8px}.appbar-actions{align-items:center;gap:4px;margin-left:auto;display:flex}main{flex-direction:column;gap:28px;width:100%;max-width:1680px;margin:0 auto;padding:20px 24px 40px;display:flex}.intro h1{letter-spacing:-.015em;margin:8px 0 4px;font-size:24px}.intro p{color:var(--fg-muted);margin:0 0 18px}.footer{color:var(--fg-muted);flex-direction:column;gap:6px;font-size:12px;display:flex}.result{background:var(--surface);border:1px solid var(--border);border-radius:10px}.result-head{flex-wrap:wrap;align-items:center;gap:10px 16px;padding:12px 16px;display:flex}.title-input{background:0 0;border:1px solid #0000;border-radius:6px;flex:220px;min-width:0;margin-left:-8px;padding:4px 8px;font-size:17px;font-weight:650}.title-input:hover{border-color:var(--border)}.title-input:focus{border-color:var(--accent);outline:none}.title-input::placeholder{color:var(--fg-faint)}.summary{gap:12px;display:flex}.result-actions{flex-wrap:wrap;gap:6px;margin-left:auto;display:flex}.sticky-head{z-index:6;background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);position:sticky;top:0}.toolbar{border-bottom:1px solid var(--border);align-items:flex-start;gap:12px;padding:8px 16px;display:flex}.tb-options{flex-wrap:wrap;flex:1;align-items:center;gap:8px 12px;min-width:0;display:flex}.toggles{flex-wrap:wrap;align-items:center;gap:2px;display:flex}.nav{align-items:center;gap:2px;height:32px;margin-left:auto;display:flex}.nav-pos{color:var(--fg-muted);font-variant-numeric:tabular-nums;white-space:nowrap;margin-right:6px;font-size:12.5px}.panes-head{--mid:44px;font-size:13px}.panes-head.split{grid-template-columns:minmax(0, 1fr) var(--mid) minmax(0, 1fr);display:grid}.pane-head{align-items:center;gap:10px;min-width:0;min-height:36px;padding:4px 8px 4px 14px;display:flex}.pane-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.pane-lines{color:var(--fg-muted);white-space:nowrap;font-variant-numeric:tabular-nums}.pane-head .icon-btn{margin-left:auto}.banner{border-bottom:1px solid var(--border);background:var(--surface-2);flex-wrap:wrap;align-items:baseline;gap:4px;padding:10px 16px;font-size:13px;display:flex}.banner.same{background:var(--ins-bg);color:var(--ins-fg);font-weight:500}.hint{border-top:1px solid var(--border);color:var(--fg-muted);margin:0;padding:8px 16px;font-size:12px}.diff{--mid:44px;font-family:var(--font-code);font-size:var(--code-size);line-height:var(--lh);tab-size:4;font-variant-ligatures:none}.chunk{content-visibility:auto;contain-intrinsic-size:auto 2000px}.diff .row{grid-template-columns:var(--ln) minmax(0, 1fr) var(--mid) var(--ln) minmax(0, 1fr);display:grid}.diff .row-u{grid-template-columns:var(--ln) var(--ln) 22px minmax(0, 1fr);display:grid;position:relative}.ln{color:var(--fg-faint);text-align:right;-webkit-user-select:none;user-select:none;background:var(--surface-2)}.ln button{width:100%;min-height:var(--lh);text-align:right;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0 8px 0 4px;display:block}.ln button:hover{color:var(--accent);background:var(--accent-soft)}.code{min-width:0;min-height:var(--lh);padding:0 12px}.wrap .ci{white-space:pre-wrap;overflow-wrap:anywhere}.nowrap .code{white-space:pre;overflow:hidden}.nowrap .ci{transform:translateX(calc(-1 * var(--sx,0px)));display:inline-block}.code.del{background:var(--del-bg)}.code.ins{background:var(--ins-bg)}.ln.del{background:var(--del-gutter);color:var(--del-fg)}.ln.ins{background:var(--ins-gutter);color:var(--ins-fg)}.code.empty,.ln.empty{background:repeating-linear-gradient(-45deg, transparent 0 5px, var(--empty-stripe) 5px 10px)}mark{color:inherit;border-radius:2px}.del mark{background:var(--del-mark)}.ins mark{background:var(--ins-mark)}.mid{background:var(--surface-2);border-inline:1px solid var(--border);justify-content:center;align-items:flex-start;display:flex}.row.active .mid{box-shadow:inset 2px 0 var(--accent), inset -2px 0 var(--accent)}.sign{text-align:center;-webkit-user-select:none;user-select:none;color:var(--fg-faint)}.sign.del{background:var(--del-bg);color:var(--del-fg)}.sign.ins{background:var(--ins-bg);color:var(--ins-fg)}.row-u.active .sign{box-shadow:inset 2px 0 var(--accent)}.merge{gap:2px;padding-top:1px;display:flex}.merge-btn{border:1px solid var(--border-strong);background:var(--surface);width:18px;height:18px;color:var(--fg-muted);cursor:pointer;border-radius:4px;place-items:center;padding:0;display:grid}.merge-btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:12px;height:12px}:not(.merge-locked)>.diff .merge-btn:hover{color:var(--accent);border-color:var(--accent)}.merge-locked .merge-btn{opacity:.4;cursor:not-allowed}.merge-u{position:absolute;top:0;right:8px}.row-u.first .code{padding-right:56px}.row.fold,.row-u.fold{display:block}.fold-btn{border:0;border-block:1px solid var(--border);background:var(--accent-soft);width:100%;color:var(--fg-muted);font:12px/18px var(--font-ui);cursor:pointer;justify-content:center;align-items:center;gap:8px;padding:3px 8px;display:flex}.fold-btn:hover{color:var(--fg)}.fold-btn svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.hscroll{z-index:4;border-top:1px solid var(--border);background:var(--surface);display:grid;position:sticky;bottom:0}.hscroll.split{grid-template-columns:var(--ln) minmax(0, 1fr) var(--mid) var(--ln) minmax(0, 1fr)}.hscroll.unified{grid-template-columns:var(--ln) var(--ln) 22px minmax(0, 1fr)}.hs{height:12px;overflow:auto hidden}.hs>div{height:1px}.row.comments{grid-template-columns:minmax(0, 1fr) var(--mid) minmax(0, 1fr);background:var(--surface-2)}.cslot.l{grid-column:1}.cslot.r{grid-column:3}.row-u.comments{padding-left:calc(var(--ln) * 2 + 22px);background:var(--surface-2);display:block}.thread{border:1px solid var(--border);background:var(--surface);max-width:640px;font:13px/1.45 var(--font-ui);border-radius:8px;margin:6px 12px;padding:10px 12px}.thread-label{color:var(--fg-muted);margin-bottom:6px;font-size:12px}.comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 4px}.comment+.comment,.comment+.composer{border-top:1px solid var(--border);margin-top:8px;padding-top:8px}.comment-meta{color:var(--fg-muted);gap:10px;font-size:12px;display:flex}.composer textarea{border:1px solid var(--border-strong);background:var(--surface);resize:vertical;border-radius:6px;width:100%;padding:8px 10px}.composer-actions{justify-content:flex-end;gap:6px;margin-top:6px;display:flex}.editors{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;display:grid}.editor{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-direction:column;min-width:0;display:flex}.editor:focus-within{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.editor-head{border-bottom:1px solid var(--border);align-items:center;gap:8px;min-height:44px;padding:6px 8px 6px 14px;display:flex}.editor-label{white-space:nowrap;font-weight:600}.editor-count{color:var(--fg-muted);white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto;font-size:12px}.file-chip{background:var(--surface-2);min-width:0;max-width:45%;font:12px/22px var(--font-code);border-radius:5px;align-items:center;gap:2px;padding:0 2px 0 8px;display:inline-flex}.file-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-chip button{width:20px;height:20px;color:var(--fg-muted);cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;padding:0;display:grid}.file-chip button:hover{background:var(--surface-3);color:var(--fg)}.file-chip svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;width:12px;height:12px}.editor-body{resize:vertical;border-radius:0 0 10px 10px;grid-template-columns:auto minmax(0,1fr);height:420px;min-height:160px;display:grid;position:relative;overflow:hidden}.editor-body.dragging{background:var(--accent-soft)}.ed-gutter{border-right:1px solid var(--border);background:var(--surface-2);color:var(--fg-faint);font:var(--code-size) / var(--lh) var(--font-code);-webkit-user-select:none;user-select:none;position:relative;overflow:hidden}.ed-ln{height:var(--lh);text-align:right;padding-right:8px;position:absolute;left:0;right:0}.ed-ln.del{background:var(--del-gutter);color:var(--del-fg)}.ed-ln.ins{background:var(--ins-gutter);color:var(--ins-fg)}.ed-area{min-width:0;position:relative;overflow:hidden}.ed-bg,.ed-text{pointer-events:none;position:absolute;inset:0;overflow:hidden}.ed-bar{height:var(--lh);position:absolute;left:0;right:0}.ed-bar.del{background:var(--del-bg)}.ed-bar.ins{background:var(--ins-bg)}.ed-text{font:var(--code-size) / var(--lh) var(--font-code);white-space:pre;tab-size:4;font-variant-ligatures:none}.ed-line{height:var(--lh);position:absolute;left:12px}.ed-area textarea{resize:none;color:#0000;width:100%;height:100%;caret-color:var(--fg);font:var(--code-size) / var(--lh) var(--font-code);white-space:pre;tab-size:4;letter-spacing:normal;font-variant-ligatures:none;background:0 0;border:0;outline:none;margin:0;padding:10px 12px;position:absolute;inset:0;overflow:auto}.ed-area textarea::placeholder{color:var(--fg-faint)}.ed-area textarea::selection{background:var(--selection);color:#0000}.drop-hint{border:2px dashed var(--accent);background:color-mix(in srgb, var(--surface) 88%, transparent);color:var(--accent);font:600 14px var(--font-ui);pointer-events:none;border-radius:8px;place-items:center;display:grid;position:absolute;inset:8px}.input-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;display:flex}.kbd-hint{gap:3px;display:inline-flex}.spacer{flex:1}.image-drop{border-radius:0 0 10px 10px;flex-direction:column;gap:8px;height:260px;padding:12px;display:flex;position:relative}.image-drop.dragging{background:var(--accent-soft)}.drop-empty{border:1.5px dashed var(--border-strong);min-height:0;color:var(--fg-muted);text-align:center;cursor:pointer;background:0 0;border-radius:8px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;padding:16px;font-size:12.5px;display:flex}.drop-empty:hover{border-color:var(--accent);background:var(--accent-soft)}.drop-empty .icon{margin-bottom:4px}.drop-title{color:var(--fg);font-size:14px;font-weight:600}.thumb{flex:1;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;min-height:0;display:grid}.thumb img,.stage{background-color:var(--surface);background-image:repeating-conic-gradient(var(--surface-3) 0 25%, transparent 0 50%);background-size:16px 16px}.thumb img{object-fit:contain;max-width:100%;max-height:100%;box-shadow:0 0 0 1px var(--border);display:block}.img-dims{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:4px 16px;margin:0 0 0 auto;font-size:13px;display:flex}.img-dims div{gap:6px;display:flex}.img-dims dt{color:var(--fg-muted)}.img-dims dd{margin:0;font-weight:600}.range{color:var(--fg-muted);align-items:center;gap:8px;font-size:12.5px;display:inline-flex}.range input{width:180px;accent-color:var(--accent);margin:0}.range output{min-width:4ch;color:var(--fg);font-variant-numeric:tabular-nums;font-weight:600}.stage-wrap{justify-content:center;padding:16px;display:flex}.stage{max-width:100%;box-shadow:0 0 0 1px var(--border);flex:none;position:relative;overflow:hidden}.stage.plain{background:var(--surface)}.stage .layer{-webkit-user-select:none;user-select:none;max-width:none;display:block;position:absolute;top:0;left:0}.stage .layer.fill{width:100%;height:100%}.layer-clip,.fade-group{position:absolute;inset:0}.fade-group{isolation:isolate}.stage.slider{cursor:ew-resize;touch-action:pan-y;-webkit-user-select:none;user-select:none}.divider{background:var(--accent);width:2px;margin-left:-1px;position:absolute;top:0;bottom:0}.divider-handle{border:2px solid var(--accent);background:var(--surface);width:32px;height:32px;color:var(--accent);border-radius:50%;place-items:center;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 8px #00000040}.divider-handle .icon{stroke-width:2px}.stage-tag{background:color-mix(in srgb, var(--fg) 75%, transparent);color:var(--bg);pointer-events:none;border-radius:4px;padding:2px 8px;font-size:12px;font-weight:600;position:absolute;top:8px}.stage-tag.l{left:8px}.stage-tag.r{right:8px}.sbs{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;display:grid}.sbs figure{flex-direction:column;gap:6px;min-width:0;margin:0;display:flex}.sbs figcaption{gap:8px;min-width:0;font-size:13px;display:flex}.sbs .file-name{color:var(--fg-muted)}.hljs-keyword,.hljs-selector-tag,.hljs-doctag,.hljs-template-tag{color:var(--syn-keyword)}.hljs-string,.hljs-selector-attr,.hljs-selector-pseudo{color:var(--syn-string)}.hljs-number,.hljs-literal{color:var(--syn-number)}.hljs-comment,.hljs-quote{color:var(--syn-comment);font-style:italic}.hljs-title,.hljs-section{color:var(--syn-title)}.hljs-attr,.hljs-attribute,.hljs-property,.hljs-selector-class,.hljs-selector-id{color:var(--syn-attr)}.hljs-built_in,.hljs-type,.hljs-title.class_{color:var(--syn-type)}.hljs-meta{color:var(--syn-meta)}.hljs-tag,.hljs-name{color:var(--syn-tag)}.hljs-variable,.hljs-params,.hljs-template-variable{color:var(--syn-variable)}.hljs-regexp,.hljs-symbol,.hljs-link,.hljs-bullet{color:var(--syn-regexp)}.hljs-deletion{color:var(--del-fg)}.hljs-addition{color:var(--ins-fg)}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:600}.dialog{border:1px solid var(--border);background:var(--surface);width:min(520px,100vw - 32px);color:var(--fg);border-radius:12px;padding:0;box-shadow:0 24px 60px #00000040}.dialog.wide{width:min(720px,100vw - 32px)}.dialog::backdrop{background:#12121173}.dialog-head{justify-content:space-between;align-items:center;padding:14px 12px 6px 18px;display:flex}.dialog-head h2{margin:0;font-size:16px}.dialog-body{flex-direction:column;align-items:flex-start;gap:14px;max-height:70vh;padding:4px 18px 18px;display:flex;overflow:auto}.dialog-body>.input,.dialog-body>ul,.dialog-body>textarea{align-self:stretch}.dialog-foot{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;padding:12px 18px;display:flex}.empty-note{border:1px dashed var(--border-strong);color:var(--fg-muted);text-align:center;border-radius:8px;align-self:stretch;margin:0;padding:18px}.rule-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.rule{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:start;gap:8px;display:grid}.rule>input[type=checkbox]{margin-top:9px}.rule-field{flex-direction:column;gap:4px;display:flex}.rule-regex{align-items:center;gap:5px;height:32px;font-size:12.5px;display:flex}.field-error{color:var(--danger);font-size:12px}.presets{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.presets .muted{margin-right:4px;font-size:12.5px}.saved-list{border:1px solid var(--border);border-radius:8px;margin:0;padding:0;list-style:none}.saved{align-items:center;gap:6px;padding:4px 8px 4px 4px;display:flex}.saved+.saved{border-top:1px solid var(--border)}.saved-open{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-direction:column;flex:1;align-items:flex-start;gap:2px;min-width:0;padding:8px 10px;display:flex}.saved-open:hover{background:var(--surface-2)}.saved-title{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:600;overflow:hidden}.saved-meta{color:var(--fg-muted);flex-wrap:wrap;gap:8px;font-size:12px;display:flex}.saved-confirm{gap:4px;display:flex}.share-box{word-break:break-all;width:100%}.menu{position:relative}.menu-list{z-index:20;border:1px solid var(--border);background:var(--surface);border-radius:8px;flex-direction:column;min-width:240px;padding:4px;display:flex;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 12px 32px #00000029}.menu-list button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:space-between;gap:16px;padding:8px 10px;font-size:13px;display:flex}.menu-list button:hover,.menu-list button:focus-visible{background:var(--surface-2);outline:none}.menu-hint{color:var(--fg-muted);font-size:12px}.toasts{z-index:100;pointer-events:none;flex-direction:column;align-items:center;gap:8px;width:max-content;max-width:calc(100vw - 32px);display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.toast{background:var(--fg);color:var(--bg);pointer-events:auto;border-radius:8px;align-items:center;gap:14px;padding:10px 14px;font-size:13px;animation:.16s ease-out toast-in;display:flex;box-shadow:0 8px 24px #0003}.toast.error{background:var(--danger);color:var(--danger-fg)}.toast-action{color:inherit;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600;text-decoration:underline}@keyframes toast-in{0%{opacity:0;transform:translateY(6px)}}@media (prefers-reduced-motion:reduce){.toast{animation:none}}@media (width<=760px){.appbar{flex-wrap:wrap;row-gap:8px;padding:8px 16px}.tools{flex:1 0 100%;order:3;margin-left:0}.tools a{flex:1;justify-content:center}main{gap:20px;padding:16px 16px 32px}.editors{grid-template-columns:minmax(0,1fr)}.editor-body{height:300px}.image-drop{height:220px}.sbs{grid-template-columns:minmax(0,1fr)}.stage-wrap{padding:12px}.img-dims{margin-left:0}.range{flex:1}.range input{flex:1;width:auto;min-width:0}.sticky-head{position:static}.result-actions{margin-left:0}.toolbar{flex-direction:column;align-items:stretch}.nav{margin-left:0}.diff,.panes-head{--mid:40px}.diff{--code-size:12px;--lh:18px}.pane-lines,.kbd-hint{display:none}.appbar-actions .btn{padding:0 8px}}@media print{*{-webkit-print-color-adjust:exact;print-color-adjust:exact}body{background:#fff}.no-print,.appbar,.footer,.toasts,.hscroll,.merge,.merge-u,.title-input,.result-head .result-actions{display:none!important}.print-only{display:flex!important}.print-meta{justify-content:space-between;padding:0 0 8px;font-size:13px}main{max-width:none;padding:0}.result{border:0}.result-head{padding:0 0 8px}.sticky-head{position:static}.diff .code{overflow:visible!important}.diff .ci{overflow-wrap:anywhere;white-space:pre-wrap!important;display:inline!important;transform:none!important}.chunk{content-visibility:visible}.row,.row-u{break-inside:avoid}.ln button{cursor:default}.row.active .mid,.row-u.active .sign{box-shadow:none}}
