@font-face{font-family:Inter;font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/inter-400-normal.woff)format("woff")}@font-face{font-family:Inter;font-weight:400;font-style:normal;font-display:swap;unicode-range:U+100-24F,U+1E??;src:url(/fonts/inter-ext-400-normal.woff)format("woff")}@font-face{font-family:Inter;font-weight:400;font-style:italic;font-display:swap;src:url(/fonts/inter-400-italic.woff)format("woff")}@font-face{font-family:Inter;font-weight:400;font-style:italic;font-display:swap;unicode-range:U+100-24F,U+1E??;src:url(/fonts/inter-ext-400-italic.woff)format("woff")}@font-face{font-family:Inter;font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/inter-600-normal.woff)format("woff")}@font-face{font-family:Inter;font-weight:600;font-style:normal;font-display:swap;unicode-range:U+100-24F,U+1E??;src:url(/fonts/inter-ext-600-normal.woff)format("woff")}@font-face{font-family:Inter;font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/inter-700-normal.woff)format("woff")}@font-face{font-family:Inter;font-weight:700;font-style:normal;font-display:swap;unicode-range:U+100-24F,U+1E??;src:url(/fonts/inter-ext-700-normal.woff)format("woff")}@font-face{font-family:Inter;font-weight:700;font-style:italic;font-display:swap;src:url(/fonts/inter-700-italic.woff)format("woff")}@font-face{font-family:Inter;font-weight:700;font-style:italic;font-display:swap;unicode-range:U+100-24F,U+1E??;src:url(/fonts/inter-ext-700-italic.woff)format("woff")}@font-face{font-family:JetBrains Mono;font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/jetbrains-mono-400-normal.woff)format("woff")}@font-face{font-family:JetBrains Mono;font-weight:400;font-style:normal;font-display:swap;unicode-range:U+100-24F,U+1E??;src:url(/fonts/jetbrains-mono-ext-400-normal.woff)format("woff")}@font-face{font-family:JetBrains Mono;font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/jetbrains-mono-700-normal.woff)format("woff")}@font-face{font-family:JetBrains Mono;font-weight:700;font-style:normal;font-display:swap;unicode-range:U+100-24F,U+1E??;src:url(/fonts/jetbrains-mono-ext-700-normal.woff)format("woff")}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font:14px/1.4 Inter,system-ui,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}:root{--gh-canvas:#0d1117;--gh-subtle:#161b22;--gh-inset:#010409;--gh-border:#30363d;--gh-border-mut:#21262d;--gh-fg:#e6edf3;--gh-fg-muted:#7d8590;--gh-fg-disabled:#484f58;--gh-accent:#2f81f7;--gh-btn:#21262d;--gh-hover:#30363d;--gh-active:#282e33}.app-shell{background:var(--gh-canvas);width:100vw;height:100vh;color:var(--gh-fg);flex-direction:column;font-family:Inter,system-ui,sans-serif;display:flex}.app-shell.eye-care{--gh-canvas:#171310;--gh-subtle:#201a15;--gh-inset:#0d0a08;--gh-border:#3d352c;--gh-border-mut:#2b251f;--gh-fg:#e8ddcb;--gh-fg-muted:#988a76;--gh-fg-disabled:#5a5044;--gh-accent:#d19a3d;--gh-btn:#2b251f;--gh-hover:#3d352c;--gh-active:#383026}.app-shell.eye-care .canvas-viewport canvas{filter:sepia(.28)saturate(.92)brightness(.97)contrast(.97)}.toolbar-btn--eyecare{margin-right:16px}.app-statusbar{background:var(--gh-subtle);border-color:var(--gh-border);flex-shrink:0;align-items:flex-start;gap:12px;padding:0 16px;font-size:12px;display:flex}.app-statusbar--top{border-bottom:1px solid var(--gh-border);gap:20px}.app-statusbar--bottom{border-top:1px solid var(--gh-border);min-height:28px;color:var(--gh-fg-muted);justify-content:space-between;align-items:center}.statusbar-group{align-items:center;gap:14px;display:flex}.autosave-banner{z-index:20;background:var(--gh-subtle);border:1px solid color-mix(in srgb, var(--gh-attention-emphasis) 50%, transparent);color:var(--gh-fg);white-space:nowrap;border-radius:8px;align-items:center;gap:10px;padding:8px 14px;font-size:12px;display:flex;position:absolute;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #00000080}.autosave-banner-icon{color:var(--gh-attention-emphasis);flex-shrink:0}.autosave-banner-text{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.autosave-banner-btn{background:var(--gh-subtle);border:1px solid var(--gh-border);color:var(--gh-fg);cursor:pointer;white-space:nowrap;border-radius:4px;flex-shrink:0;padding:3px 10px;font-size:12px}.autosave-banner-btn:hover{background:var(--gh-inset)}.autosave-banner-btn--primary{background:var(--gh-attention-emphasis);border-color:var(--gh-attention-emphasis);color:#fff}.autosave-banner-btn--primary:hover{opacity:.88}.app-logo-btn{cursor:pointer;color:var(--gh-fg);background:0 0;border:none;border-radius:6px;flex-shrink:0;align-items:center;gap:8px;margin-top:6px;padding:3px 6px;transition:background .12s;display:flex}.app-logo-btn:hover{background:var(--gh-hover)}.app-title{color:var(--gh-fg);letter-spacing:-.01em;font-weight:600}.statusbar-doc-title{color:var(--gh-fg);border-right:1px solid var(--gh-border-mut);font:inherit;cursor:text;background:0 0;border-top:none;border-bottom:none;border-left:none;align-items:center;gap:4px;padding-right:14px;display:inline-flex}.statusbar-doc-title:hover{color:var(--gh-accent)}.statusbar-title-input{font:inherit;color:var(--gh-fg);background:var(--gh-inset);border:1px solid var(--gh-accent);border-radius:4px;min-width:140px;margin-right:8px;padding:1px 6px}.app-doc-dirty-dot{color:var(--gh-accent);font-size:16px;line-height:1}.toolbar{flex-direction:column;flex:1;gap:2px;padding:3px 0;display:flex}.toolbar-row{align-items:center;gap:2px;display:flex}.toolbar-select{background:var(--gh-inset);width:200px;color:var(--gh-fg);border:1px solid var(--gh-border);cursor:pointer;height:28px;padding:4px 6px;font-family:inherit;font-size:12px}.toolbar-select:hover{border-color:var(--gh-fg-muted)}.fs-container{flex-shrink:0;display:inline-block;position:relative}.fs-trigger{background:var(--gh-inset);width:200px;height:28px;color:var(--gh-fg);border:1px solid var(--gh-border);cursor:pointer;box-sizing:border-box;text-align:left;align-items:center;padding:0 6px;font-family:inherit;font-size:12px;display:flex}.fs-trigger:hover{border-color:var(--gh-fg-muted)}.fs-trigger-label{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.fs-trigger-arrow{color:var(--gh-fg-muted);flex-shrink:0;margin-left:4px;font-size:10px}.fs-backdrop{z-index:9998;position:fixed;inset:0}.fs-dropdown{z-index:9999;background:var(--gh-canvas);border:1px solid var(--gh-border);border-radius:6px;display:flex;position:absolute;top:calc(100% + 2px);left:0;overflow:hidden;box-shadow:0 8px 28px #0000008c}.fs-list{border-right:1px solid var(--gh-border);flex-shrink:0;width:200px;max-height:380px;padding:4px 0;overflow-y:auto}.fs-list::-webkit-scrollbar{width:6px}.fs-list::-webkit-scrollbar-track{background:var(--gh-inset)}.fs-list::-webkit-scrollbar-thumb{background:var(--gh-border);border-radius:3px}.fs-item{cursor:pointer;color:var(--gh-fg);white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;padding:5px 10px;font-size:13px;line-height:1.4;overflow:hidden}.fs-item:hover{background:var(--gh-accent);color:#fff}.fs-item--selected{background:var(--gh-subtle);color:var(--gh-accent)}.fs-preview{flex-direction:column;gap:6px;width:280px;padding:16px 18px;display:flex;overflow:hidden}.fs-preview-label{text-transform:uppercase;letter-spacing:.08em;color:var(--gh-fg-muted);border-bottom:1px solid var(--gh-border-mut);white-space:nowrap;text-overflow:ellipsis;margin-bottom:4px;padding-bottom:8px;font-size:11px;overflow:hidden}.fs-preview-aa{color:var(--gh-fg);flex-shrink:0;font-size:72px;font-weight:400;line-height:1}.fs-preview-sentence{color:var(--gh-fg);font-size:12px;line-height:1.5}.fs-preview-sentence--pl{color:var(--gh-fg-muted);font-size:11px}.fs-preview-chars{color:var(--gh-fg-muted);font-size:11px;line-height:1.4}.toolbar-size-input{background:var(--gh-inset);width:72px;color:var(--gh-fg);border:1px solid var(--gh-border);height:28px;margin-left:4px;padding:4px 6px;font-family:inherit;font-size:12px}.toolbar-size-input:focus{border-color:var(--gh-accent);outline:none}.toolbar-file-input{display:none}.toolbar-page-format-select{background:var(--gh-inset);height:28px;color:var(--gh-fg);border:1px solid var(--gh-border);cursor:pointer;min-width:160px;padding:0 6px;font-family:inherit;font-size:12px}.toolbar-page-format-select:focus{border-color:var(--gh-accent);outline:none}.toolbar-page-format-select:hover{border-color:var(--gh-fg-muted)}.toolbar-divider{background:var(--gh-border);width:1px;height:18px;margin:0 6px}.toolbar-spacer{flex:1}.toolbar-label{color:var(--gh-fg-muted);margin:0 8px 0 4px;font-size:12px;transition:color .1s}.toolbar-group{align-items:center;display:flex}.toolbar-group:hover .toolbar-label{color:var(--gh-accent-fg,#2f81f7)}.toolbar-zoom-value{text-align:center;min-width:38px;color:var(--gh-fg);font-size:12px}.toolbar-btn{width:30px;height:28px;color:var(--gh-fg);cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;font-family:inherit;font-size:12px;transition:background-color .12s,color .12s;display:inline-flex}.toolbar-btn--text{width:32px}.toolbar-btn:hover{background:var(--gh-hover)}.toolbar-btn.is-active{background:var(--gh-active);color:var(--gh-accent)}.toolbar-btn:disabled{color:var(--gh-fg-disabled);cursor:not-allowed}.toolbar-btn:disabled:hover{background:0 0}.toolbar-btn--labeled{gap:5px;width:auto;padding:0 8px}.toolbar-btn--badge{position:relative}.toolbar-badge{background:var(--gh-accent);color:#fff;text-align:center;border-radius:7px;min-width:14px;height:14px;padding:0 3px;font-size:9px;font-weight:700;line-height:14px;position:absolute;top:2px;right:2px}.table-toolbar{background:var(--gh-subtle);border-bottom:1px solid var(--gh-border);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:2px;height:32px;padding:0 16px;display:flex}.ruler{z-index:5;pointer-events:none;display:block;position:absolute}.ruler-corner{z-index:5;background:var(--gh-subtle);border-right:1px solid var(--gh-border);border-bottom:1px solid var(--gh-border);letter-spacing:.02em;color:var(--gh-fg-muted);white-space:nowrap;justify-content:center;align-items:center;font-size:8px;font-weight:600;display:flex;position:absolute;overflow:hidden}.block-guide{z-index:4;pointer-events:none;position:absolute}.canvas-scrollbar-track-h{z-index:6;height:12px;position:absolute;bottom:0;left:61px}.canvas-scrollbar-thumb-h{background:var(--gh-border);cursor:pointer;border-radius:4px;height:8px;position:absolute;top:2px}.canvas-scrollbar-thumb-h:hover{background:var(--gh-fg-disabled)}.canvas-scrollbar-track{z-index:6;width:12px;position:absolute;top:0;bottom:0}.canvas-scrollbar-thumb{background:var(--gh-border);cursor:pointer;border-radius:4px;width:8px;position:absolute;left:2px}.canvas-scrollbar-thumb:hover{background:var(--gh-fg-muted)}.editor-body{flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.canvas-viewport{background:var(--gh-canvas);flex:1;min-width:0;position:relative}.hidden-input{opacity:0;pointer-events:none;resize:none;color:#0000;background:0 0;border:none;width:1px;height:1px;padding:0;position:absolute;top:0;left:0}.properties-panel{z-index:20;background:var(--gh-subtle);border-left:1px solid var(--gh-border);width:420px;padding:16px;transition:transform .18s;position:absolute;top:0;bottom:0;right:0;overflow-y:auto;transform:translate(0);box-shadow:-16px 0 24px #0006}.properties-panel.is-closed{box-shadow:none;transform:translate(100%)}.properties-title{color:var(--gh-fg);margin:0 0 2px;font-size:13px;font-weight:600}.properties-subtitle{color:var(--gh-fg-muted);margin:0 0 16px;font-size:11px}.properties-section{margin-bottom:18px}.properties-section h3{text-transform:uppercase;letter-spacing:.04em;text-align:center;color:var(--gh-accent);border-top:1px solid var(--gh-border);margin:0 0 10px;padding-top:10px;font-size:12px;font-weight:700}.properties-field{color:var(--gh-fg);justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;font-size:12px;display:flex}.properties-field input[type=number]{background:var(--gh-inset);border:1px solid var(--gh-border);width:70px;color:var(--gh-fg);padding:4px 6px;font-family:inherit;font-size:12px}.properties-field input[type=color]{border:1px solid var(--gh-border);cursor:pointer;background:0 0;width:36px;height:22px;padding:0}.properties-field input:focus{border-color:var(--gh-accent);outline:none}.properties-actions{border-top:1px solid var(--gh-border);flex-wrap:wrap;gap:6px;margin-top:16px;padding-top:16px;display:flex}.properties-inline-row{align-items:center;gap:6px;margin-bottom:10px;display:flex}.properties-inline-row select{flex:1;min-width:0}.properties-inline-row input[type=number]{width:56px}.properties-inline-row input[type=color]{border:1px solid var(--gh-border);cursor:pointer;background:0 0;width:28px;height:24px;padding:0}.properties-style-buttons{gap:2px;display:flex}.properties-style-buttons .toolbar-btn{width:24px;height:22px}.properties-text-input{box-sizing:border-box;background:var(--gh-inset);border:1px solid var(--gh-border);width:100%;color:var(--gh-fg);margin-bottom:6px;padding:5px 7px;font-family:inherit;font-size:12px}.properties-text-input:focus{border-color:var(--gh-accent);outline:none}.properties-divider{background:var(--gh-border);height:1px;margin:10px 0}.file-sidebar{background:var(--gh-subtle);border-right:1px solid var(--gh-border);z-index:6;flex-direction:column;flex-shrink:0;align-items:center;gap:10px;padding:14px 8px;display:flex;position:relative}.file-sidebar-btn{width:44px;height:44px;color:var(--gh-fg);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;display:flex}.file-sidebar-btn:hover{background:var(--gh-hover);border-color:var(--gh-border)}.file-sidebar-btn:disabled{color:var(--gh-fg-disabled);cursor:default}.file-sidebar-spacer{flex:auto}.anchor-pin{z-index:45;border:1px solid var(--gh-border);background:var(--gh-subtle);width:20px;height:20px;color:var(--gh-fg);cursor:pointer;border-radius:5px;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;box-shadow:0 2px 8px #0006}.anchor-pin:hover,.anchor-pin.is-active{border-color:var(--gh-accent);color:var(--gh-accent)}.anchor-backdrop{z-index:44;position:fixed;inset:0}.anchor-target{z-index:46;cursor:pointer;background:#e5484d2e;border:2px solid #e5484d;border-radius:50%;width:16px;height:16px;padding:0;position:absolute}.anchor-target:hover{background:#e5484d}.anchor-target.is-current{background:#e5484d;box-shadow:0 0 0 3px #e5484d4d}.anchor-target-label{white-space:nowrap;color:#fff;pointer-events:none;background:#e5484d;border-radius:4px;padding:1px 6px;font-size:11px;font-weight:600;position:absolute;top:50%;left:20px;transform:translateY(-50%)}.anchor-target--page{background:#2f81f72e;border-color:#2f81f7}.anchor-target--page:hover,.anchor-target--page.is-current,.anchor-target--page .anchor-target-label{background:#2f81f7}.anchor-current{z-index:43;pointer-events:none;background:#e5484d40;border:2px solid #e5484d;border-radius:50%;width:12px;height:12px;position:absolute}.toolbar-color-input{border:1px solid var(--gh-border);background:var(--gh-inset);cursor:pointer;border-radius:4px;width:26px;height:22px;padding:1px}.properties-close-btn{width:24px;height:24px;color:var(--gh-fg-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;display:flex;position:absolute;top:10px;right:10px}.properties-close-btn:hover{background:var(--gh-hover);color:var(--gh-fg);border-color:var(--gh-border)}.properties-subheading{letter-spacing:.04em;text-align:center;color:var(--gh-accent);margin:0 0 10px;font-size:12px;font-weight:700}.properties-subheading--icon{text-transform:uppercase;justify-content:center;align-items:center;gap:6px;display:flex}.properties-textarea{box-sizing:border-box;resize:vertical;background:var(--gh-inset);border:1px solid var(--gh-border);width:100%;min-height:44px;color:var(--gh-fg);margin-bottom:6px;padding:6px 8px;font-family:inherit;font-size:12px;line-height:1.4}.properties-textarea:focus{border-color:var(--gh-accent);outline:none}.properties-code-textarea{box-sizing:border-box;resize:vertical;background:var(--gh-inset);border:1px solid var(--gh-border);width:100%;min-height:140px;color:var(--gh-fg);margin-bottom:12px;padding:8px;font-family:JetBrains Mono,monospace;font-size:12px;line-height:1.4}.properties-code-textarea:focus{border-color:var(--gh-accent);outline:none}.zoom-value{text-align:center;min-width:38px}.color-picker{align-items:center;display:inline-flex;position:relative}.color-field-swatch.color-picker-cf{width:20px;height:14px;margin-left:1px}.color-picker-cf-col{flex-direction:column;align-items:center;gap:0;margin-left:1px;display:inline-flex}.color-picker-arrow{color:var(--gh-fg-muted);pointer-events:none;-webkit-user-select:none;user-select:none;margin-top:-3px;font-size:11px;line-height:.7}.toolbar-btn--color{flex-direction:column;gap:1px;padding-top:2px}.color-picker-bar{border-radius:2px;width:18px;height:4px;box-shadow:0 0 0 1px #ffffff73,inset 0 0 0 1px #00000073}.color-picker-backdrop{z-index:30;position:fixed;inset:0}.color-picker-popover{z-index:31;background:var(--gh-subtle);border:1px solid var(--gh-border);grid-template-columns:repeat(7,20px);gap:4px;padding:8px;display:grid;position:absolute;top:32px;left:0;box-shadow:0 4px 16px #00000080}.color-picker-swatch{border:1px solid var(--gh-border);cursor:pointer;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:flex}.color-picker-swatch:hover{border-color:var(--gh-fg-muted)}.color-picker-none{background:#e5484d;width:16px;height:1px;transform:rotate(45deg)}.color-picker-lock{box-shadow:inset 0 0 0 1px var(--gh-accent)}.color-picker-companion{cursor:pointer;height:28px;color:var(--gh-fg);background:0 0;border:1px solid #0000;align-items:center;gap:2px;padding:0 5px;transition:background-color .12s;display:flex}.color-picker-companion:hover{background:var(--gh-hover)}.color-picker-companion-arrow{color:var(--gh-fg-muted);font-size:13px;line-height:1}.color-picker-companion-swatch{border-radius:2px;width:22px;height:13px;box-shadow:0 0 0 1px #ffffff73,inset 0 0 0 1px #00000073}.color-dialog{z-index:31;background:var(--gh-subtle);border:1px solid var(--gh-border);flex-direction:column;gap:10px;min-width:188px;padding:10px;display:flex;position:absolute;top:32px;left:0;box-shadow:0 4px 20px #0009}.color-dialog-swatches{grid-template-columns:repeat(7,20px);gap:4px;display:grid}.color-picker-swatch.is-selected{border-color:var(--gh-accent);box-shadow:0 0 0 2px var(--gh-accent)}.color-dialog-hex-row{align-items:center;gap:8px;display:flex}.color-dialog-preview{border-radius:4px;flex-shrink:0;width:26px;height:26px;box-shadow:0 0 0 1px #ffffff4d,inset 0 0 0 1px #00000059}.color-dialog-hex-input{background:var(--gh-inset);border:1px solid var(--gh-border);color:var(--gh-fg);border-radius:3px;outline:none;flex:1;height:26px;padding:4px 8px;font-family:JetBrains Mono,monospace;font-size:12px}.color-dialog-hex-input:focus{border-color:var(--gh-accent)}.color-dialog-hex-input.is-invalid{border-color:#e5484d}.color-dialog-footer{justify-content:flex-end;gap:6px;display:flex}.color-dialog-btn{cursor:pointer;border-radius:4px;height:26px;padding:0 14px;font-family:inherit;font-size:12px;transition:opacity .1s,background-color .1s}.color-dialog-btn--cancel{background:var(--gh-btn);border:1px solid var(--gh-border);color:var(--gh-fg)}.color-dialog-btn--cancel:hover{background:var(--gh-hover)}.color-dialog-btn--ok{background:var(--gh-accent);border:1px solid var(--gh-accent);color:#fff}.color-dialog-btn--ok:hover{opacity:.85}.color-dialog-btn--ok:disabled{opacity:.4;cursor:not-allowed}.color-field{display:inline-block;position:relative}.color-field-swatch{border:1px solid var(--gh-border);cursor:pointer;border-radius:4px;width:34px;height:22px;padding:0;box-shadow:inset 0 0 0 1px #ffffff1f}.color-field-popup{z-index:60;border:1px solid var(--gh-border);background:#22262c;border-radius:8px;flex-direction:column;gap:8px;width:216px;padding:10px;display:flex;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 8px 24px #00000073}.cf-sv{cursor:crosshair;touch-action:none;border-radius:5px;width:100%;height:130px;position:relative}.cf-sv-thumb{pointer-events:none;border:2px solid #fff;border-radius:50%;width:12px;height:12px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #00000080}.cf-row{align-items:center;gap:8px;display:flex}.cf-eyedropper{background:var(--gh-inset);border:1px solid var(--gh-border);width:26px;height:26px;color:var(--gh-fg);cursor:pointer;border-radius:5px;flex:none;justify-content:center;align-items:center;display:flex}.cf-preview{border:1px solid var(--gh-border);border-radius:50%;flex:none;width:26px;height:26px}.cf-hue{cursor:pointer;touch-action:none;background:linear-gradient(90deg,red 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);border-radius:6px;flex:auto;height:12px;position:relative}.cf-hue-thumb{pointer-events:none;border:2px solid #fff;border-radius:50%;width:14px;height:14px;position:absolute;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #00000080}.cf-inputs{gap:6px;display:flex}.cf-inputs label{flex-direction:column;flex:1 1 0;align-items:center;gap:2px;display:flex}.cf-inputs label.cf-hex{flex:1.6 1 0}.cf-inputs span{color:var(--gh-muted,#8b949e);letter-spacing:.03em;font-size:9px}.cf-inputs input{text-align:center;background:var(--gh-inset);border:1px solid var(--gh-border);width:100%;min-width:0;color:var(--gh-fg);border-radius:4px;padding:3px 2px;font-size:11px}.cf-inputs input:focus{border-color:var(--gh-accent);outline:none}.cf-footer{justify-content:flex-end;gap:6px;display:flex}.cf-btn{border:1px solid var(--gh-border);cursor:pointer;border-radius:5px;padding:4px 12px;font-size:12px}.cf-btn--cancel{background:var(--gh-inset);color:var(--gh-fg)}.cf-btn--ok{background:var(--gh-accent);color:#fff;border-color:var(--gh-accent)}.cf-none{background:var(--gh-inset);border:1px solid var(--gh-border);width:100%;color:var(--gh-fg);cursor:pointer;border-radius:5px;align-items:center;gap:8px;padding:5px 8px;font-size:12px;display:flex}.cf-none.is-selected{border-color:var(--gh-accent);box-shadow:inset 0 0 0 1px var(--gh-accent)}.cf-none-swatch{border:1px solid var(--gh-border);border-radius:4px;flex:none;width:18px;height:18px}.color-field-swatch--none{box-shadow:inset 0 0 0 1px var(--gh-border)}.header-footer-popover{z-index:31;background:var(--gh-subtle);border:1px solid var(--gh-border);flex-direction:column;gap:6px;width:260px;padding:10px;display:flex;position:absolute;top:32px;left:0;box-shadow:0 4px 16px #00000080}.header-footer-popover--wide{width:340px;left:auto;right:0}.header-footer-popover-label{text-transform:uppercase;letter-spacing:.04em;color:var(--gh-fg-muted);font-size:11px;font-weight:600}.header-footer-popover-input{background:var(--gh-inset);border:1px solid var(--gh-border);color:var(--gh-fg);padding:6px 8px;font-family:inherit;font-size:12px}.header-footer-popover-input:focus{border-color:var(--gh-accent);outline:none}.snap-indicator{z-index:45;pointer-events:none;filter:drop-shadow(0 1px 2px #0006);position:absolute}.app-title-col{flex-direction:column;align-items:flex-start;line-height:1.05;display:flex}.app-version-tag{color:var(--gh-fg-muted,#8b949e);letter-spacing:.02em;font-size:9.5px}.hf-inline-wrap{z-index:50}.hf-inline-toolbar{z-index:51;border:1px solid var(--gh-border);background:#2b2f36;border-radius:5px;flex-wrap:nowrap;align-items:center;gap:4px;width:max-content;padding:5px 8px;display:flex;position:absolute;bottom:calc(100% + 5px);left:0;box-shadow:0 3px 12px #00000052}.hf-inline-sep{background:var(--gh-border);align-self:stretch;width:1px;margin:2px}.hf-inline-size{background:var(--gh-inset);border:1px solid var(--gh-border);color:#e6edf3;border-radius:3px;width:46px;padding:2px 4px;font-size:12px}.hf-inline-color{border:1px solid var(--gh-border);cursor:pointer;background:0 0;border-radius:3px;width:26px;height:24px;padding:0}.hf-inline-edit{color:#1f2328;border:1.5px solid var(--gh-accent);background:#fff;border-radius:3px;min-height:3em;padding:3px 5px;font-size:12px;line-height:1.35;overflow:auto;box-shadow:0 2px 10px #00000038}.hf-inline-edit:focus{outline:none}.inline-fn-editor{z-index:40;border:1.5px solid var(--gh-accent);background:#fff;border-radius:4px;align-items:center;gap:6px;padding:4px 6px;display:flex;box-shadow:0 3px 12px #00000038}.inline-fn-badge{color:var(--gh-accent);white-space:nowrap;flex:none;font-size:10px;font-weight:600}.inline-fn-input{color:#1f2328;background:#fff;border:1px solid #d0d7de;border-radius:3px;flex:auto;min-width:120px;padding:3px 6px;font-family:inherit;font-size:12px}.inline-fn-input:focus{border-color:var(--gh-accent);outline:none}.header-footer-popover-hint{color:var(--gh-fg-muted);margin:0;font-size:11px}.header-footer-popover-actions{justify-content:flex-end;gap:6px;margin-top:2px;display:flex}.hf-token-row{flex-wrap:wrap;gap:4px;display:flex}.hf-token-btn{padding:2px 8px;font-size:11px}.hf-check{color:var(--gh-fg);align-items:center;gap:8px;font-size:12px;display:flex}.hf-number{background:var(--gh-inset);border:1px solid var(--gh-border);width:54px;height:24px;color:var(--gh-fg);border-radius:5px;margin-left:auto;padding:0 6px}.aux-index-popover-checkbox{color:var(--gh-fg-muted);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;font-size:12px;display:flex}.aux-index-popover-checkbox input[type=checkbox]{accent-color:var(--gh-accent);cursor:pointer}.comment-popover-textarea{resize:vertical;min-height:60px;font-family:inherit}.comment-thread{border:1px solid var(--gh-border);background:var(--gh-inset);margin-bottom:12px;padding:10px}.comment-thread.is-resolved{opacity:.6}.comment-thread-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.comment-thread-badge{text-transform:uppercase;letter-spacing:.04em;color:var(--gh-fg-muted);font-size:10px;font-weight:600}.comment-thread.is-resolved .comment-thread-badge{color:#2ea043}.comment-thread-actions{gap:2px;display:flex}.comment-thread-actions .toolbar-btn{width:24px;height:22px}.comment-message{margin-bottom:6px}.comment-message-meta{color:var(--gh-fg-muted);justify-content:space-between;margin-bottom:2px;font-size:10px;display:flex}.comment-message-text{color:var(--gh-fg);white-space:pre-wrap;word-break:break-word;margin:0;font-size:12px}.comment-reply-row{margin-top:8px}.comment-reply-input{box-sizing:border-box;background:var(--gh-canvas);border:1px solid var(--gh-border);width:100%;color:var(--gh-fg);padding:5px 7px;font-family:inherit;font-size:12px}.comment-reply-input:focus{border-color:var(--gh-accent);outline:none}.comments-empty-hint{color:var(--gh-fg-muted);font-size:12px}.comment-thread.is-active-thread{border-color:var(--gh-accent);box-shadow:0 0 0 1px var(--gh-accent)}.comment-margin-marker-wrap{z-index:6;position:absolute}.comment-margin-marker{width:24px;height:24px;color:var(--gh-fg-muted);cursor:pointer;filter:drop-shadow(0 1px 2px #00000073);opacity:.5;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:0;transition:opacity .12s;display:flex}.comment-margin-marker:hover{opacity:1;background:#ffffff14}.comment-margin-marker--add{color:var(--gh-accent)}.comment-margin-marker--open{color:#d29922}.comment-margin-marker--resolved{color:#2ea043}.comment-margin-overlay{pointer-events:none;position:absolute;overflow:visible}.comment-margin-outline-rect{fill:none;stroke:#d29922;stroke-width:1.5px}.comment-margin-arrow-line{stroke:#d29922;stroke-width:1.3px}.comment-marker-popover{top:-6px;left:auto;right:26px}.chart-insert-popover{z-index:40;background:var(--gh-subtle);border:1px solid var(--gh-border);border-radius:6px;width:240px;padding:10px;position:absolute;top:32px;left:0;box-shadow:0 8px 24px #00000073}.chart-insert-popover-title{color:var(--gh-fg-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px;font-size:11px;font-weight:600}.chart-type-grid{grid-template-columns:repeat(2,1fr);gap:4px;display:grid}.chart-type-btn{color:var(--gh-fg);cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:4px;align-items:center;gap:6px;padding:5px 8px;font-size:11px;display:flex}.chart-type-btn:hover{background:var(--gh-neutral-muted);border-color:var(--gh-border)}.shape-insert-popover{z-index:40;background:var(--gh-subtle);border:1px solid var(--gh-border);border-radius:6px;width:340px;max-height:70vh;padding:10px;position:absolute;top:32px;left:0;overflow-y:auto;box-shadow:0 8px 24px #00000073}.shape-category{margin-bottom:8px}.shape-category:last-child{margin-bottom:0}.shape-category-label{color:var(--gh-accent);text-transform:uppercase;letter-spacing:.04em;margin:6px 0 4px;font-size:10px;font-weight:600}.shape-grid{grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.shape-btn{color:var(--gh-fg-muted);cursor:pointer;text-align:center;background:0 0;border:1px solid #0000;border-radius:4px;flex-direction:column;align-items:center;gap:3px;padding:6px 4px;font-size:9.5px;line-height:1.15;display:flex}.shape-btn:hover{background:var(--gh-neutral-muted);border-color:var(--gh-border);color:var(--gh-fg)}.table-template-grid{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.table-template-preview{background:#fff;border-radius:2px;flex-direction:column;width:64px;height:44px;display:flex;overflow:hidden}.table-template-preview-row{flex:1;display:flex}.table-template-preview-row>div{flex:1}.chart-kind-grid{grid-template-columns:repeat(2,1fr);gap:3px;margin-bottom:4px;display:grid}.chart-kind-btn{border:1px solid var(--gh-border);background:var(--gh-inset);color:var(--gh-fg);cursor:pointer;text-align:center;border-radius:3px;padding:4px 6px;font-size:10px}.chart-kind-btn:hover{background:var(--gh-neutral-muted)}.chart-kind-btn.is-active{background:var(--gh-accent);color:#fff;border-color:var(--gh-accent)}.chart-data-table{border-collapse:collapse;width:100%;margin-bottom:6px;font-size:11px}.chart-data-table th{color:var(--gh-fg-muted);text-align:left;border-bottom:1px solid var(--gh-border);padding:2px 3px;font-size:10px;font-weight:600}.chart-data-table td{vertical-align:middle;padding:2px}.chart-data-table input[type=color]{border:1px solid var(--gh-border);background:var(--gh-inset);cursor:pointer;border-radius:3px;width:28px;height:22px;padding:1px}.chart-data-number{background:var(--gh-inset);border:1px solid var(--gh-border);width:56px;color:var(--gh-fg);border-radius:3px;padding:2px 4px;font-size:11px}.chart-data-label{background:var(--gh-inset);border:1px solid var(--gh-border);width:100%;color:var(--gh-fg);border-radius:3px;padding:2px 4px;font-size:11px}.chart-data-remove{width:22px;height:22px;padding:0;font-size:14px;line-height:1}.chart-data-remove:disabled{opacity:.3;cursor:not-allowed}.chart-data-add{justify-content:center;width:100%;margin-top:4px;font-size:11px}.modal-overlay{z-index:9000;background:#000000a6;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.about-dialog{background:var(--gh-subtle);border:1px solid var(--gh-border);border-radius:10px;flex-direction:column;gap:18px;width:440px;padding:28px 28px 22px;display:flex;box-shadow:0 16px 48px #0009}.about-header{align-items:center;gap:16px;display:flex}.about-title{color:var(--gh-accent);margin:0;font-size:22px;font-weight:700;line-height:1.2}.about-subtitle{color:var(--gh-fg-muted);margin:4px 0 0;font-size:13px}.about-info{border-collapse:collapse;width:100%}.about-info td{vertical-align:top;padding:4px 0;font-size:13px}.about-info-label{color:var(--gh-fg-muted);width:110px}.about-license-box{background:var(--gh-canvas);border:1px solid var(--gh-border);border-radius:6px;flex-direction:column;gap:8px;padding:14px;display:flex}.about-license-title{color:var(--gh-fg);margin:0;font-size:13px;font-weight:600}.about-license-text{color:var(--gh-fg-muted);margin:0;font-size:12px;line-height:1.65}.about-footer{justify-content:flex-end;display:flex}.about-ok-btn{background:var(--gh-btn);color:var(--gh-fg);border:1px solid var(--gh-border);cursor:pointer;border-radius:6px;padding:6px 28px;font-family:inherit;font-size:13px;transition:background .1s}.about-ok-btn:hover{background:var(--gh-hover)}.template-gallery{background:var(--gh-subtle);border:1px solid var(--gh-border);border-radius:10px;flex-direction:column;width:780px;max-width:calc(100vw - 48px);max-height:calc(100vh - 80px);display:flex;box-shadow:0 16px 48px #0009}.template-gallery-header{border-bottom:1px solid var(--gh-border);flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.template-gallery-title{color:var(--gh-fg);margin:0;font-size:16px;font-weight:600}.template-gallery-back{color:var(--gh-fg);cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;padding:4px 6px;font-family:inherit;font-size:15px;font-weight:600;display:flex}.template-gallery-back:hover{background:var(--gh-hover)}.template-gallery-close{color:var(--gh-fg-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:6px;display:flex}.template-gallery-close:hover{background:var(--gh-hover);color:var(--gh-fg)}.template-gallery-body{padding:20px;overflow-y:auto}.template-gallery-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.template-category-card{background:var(--gh-canvas);border:1px solid var(--gh-border);cursor:pointer;text-align:left;border-radius:8px;flex-direction:column;align-items:flex-start;gap:6px;padding:14px;font-family:inherit;transition:border-color .1s,background .1s;display:flex}.template-category-card:hover{background:var(--gh-hover);border-color:var(--gh-accent)}.template-category-icon{color:var(--gh-accent)}.template-category-label{color:var(--gh-fg);font-size:13.5px;font-weight:600}.template-category-desc{color:var(--gh-fg-muted);font-size:11.5px;line-height:1.4}.template-category-count{color:var(--gh-accent);margin-top:auto;padding-top:6px;font-size:11px;font-weight:600}.template-category-count--empty{color:var(--gh-fg-disabled)}.template-gallery-empty{min-height:160px;color:var(--gh-fg-muted);text-align:center;justify-content:center;align-items:center;font-size:13px;display:flex}.template-gallery-list{flex-direction:column;gap:8px;display:flex}.template-item-card{background:var(--gh-canvas);border:1px solid var(--gh-border);cursor:pointer;text-align:left;border-radius:8px;align-items:center;gap:14px;padding:12px 16px;font-family:inherit;transition:border-color .1s,background .1s;display:flex}.template-item-card:hover{background:var(--gh-hover);border-color:var(--gh-accent)}.template-item-icon{color:var(--gh-accent);flex-shrink:0}.template-item-text{flex-direction:column;gap:2px;display:flex}.template-item-title{color:var(--gh-fg);font-size:13.5px;font-weight:600}.template-item-desc{color:var(--gh-fg-muted);font-size:12px}.spell-popover{z-index:40;background:var(--gh-subtle);border:1px solid var(--gh-border);min-width:168px;max-width:260px;color:var(--gh-fg);border-radius:8px;padding:8px;font-size:13px;position:absolute;transform:translateY(2px);box-shadow:0 8px 28px #0000008c}.spell-popover-word{border-bottom:1px solid var(--gh-border);align-items:center;gap:6px;margin-bottom:6px;padding-bottom:6px;font-weight:600;display:flex}.spell-popover-dot{border-radius:50%;flex:none;width:8px;height:8px}.spell-popover-dot--spelling{background:#ff5c57}.spell-popover-dot--grammar{background:#58a6ff}.spell-popover-dot--style{background:#e6a228}.spell-popover-kind{color:var(--gh-fg-muted);text-transform:lowercase;margin-left:auto;font-size:11px;font-weight:400}.spell-popover-suggestions{flex-direction:column;gap:2px;display:flex}.spell-popover-suggestion{text-align:left;width:100%;color:var(--gh-fg);cursor:pointer;background:0 0;border:none;border-radius:5px;padding:5px 8px;font-size:13px;display:block}.spell-popover-suggestion:hover{background:var(--gh-accent);color:#fff}.spell-popover-empty{color:var(--gh-fg-muted);padding:4px 8px;font-size:12px;font-style:italic}.spell-popover-ignore{border:1px solid var(--gh-border);width:100%;color:var(--gh-fg-muted);cursor:pointer;background:0 0;border-radius:5px;margin-top:6px;padding:5px 8px;font-size:12px;display:block}.spell-popover-ignore:hover{border-color:var(--gh-fg-muted);color:var(--gh-fg)}.save-dialog{background:var(--gh-subtle);border:1px solid var(--gh-border);border-radius:10px;width:520px;max-width:92vw;padding:20px;position:relative;box-shadow:0 12px 40px #0000008c}.save-dialog--narrow{width:380px}.dialog-close{color:var(--gh-fg-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:6px;display:flex;position:absolute;top:12px;right:12px}.dialog-close:hover{background:var(--gh-hover);color:var(--gh-fg)}.dialog-title{color:var(--gh-fg);margin:0 0 16px;font-size:16px;font-weight:600}.save-options{flex-direction:column;gap:8px;display:flex}.save-option{border:1px solid var(--gh-border);background:var(--gh-inset);color:var(--gh-fg);text-align:left;cursor:pointer;border-radius:8px;align-items:flex-start;gap:12px;padding:12px;display:flex}.save-option:hover{border-color:var(--gh-fg-muted)}.save-option.is-selected{border-color:var(--gh-accent);box-shadow:inset 0 0 0 1px var(--gh-accent)}.save-option-icon{color:var(--gh-accent);flex:none;margin-top:2px}.save-option-title{font-size:13.5px;font-weight:600}.save-option-desc{color:var(--gh-fg-muted);margin-top:2px;font-size:12px}.save-password{color:var(--gh-fg);flex-direction:column;gap:6px;margin-top:14px;font-size:13px;display:flex}.save-password input{background:var(--gh-inset);border:1px solid var(--gh-border);height:30px;color:var(--gh-fg);border-radius:6px;padding:0 10px}.save-error{color:#e5484d;margin-top:10px;font-size:12.5px}.save-name{position:relative}.save-name input{padding-right:62px}.save-name-ext{color:var(--gh-fg-muted);pointer-events:none;font-size:12px;position:absolute;bottom:7px;right:12px}.save-export{border-top:1px solid var(--gh-border);align-items:center;gap:10px;margin-top:16px;padding-top:14px;display:flex}.save-export-label{color:var(--gh-fg-muted);font-size:12.5px}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.toolbar-btn--primary{background:var(--gh-accent);border-color:var(--gh-accent);color:#fff}.toolbar-btn--primary:hover{filter:brightness(1.08)}.toolbar-btn--primary:disabled{opacity:.5;cursor:default}.pdf-importing{color:var(--gh-fg);align-items:center;gap:12px;padding:24px 8px;font-size:14px;display:flex}.pdf-spin{color:var(--gh-accent);animation:1s linear infinite pdf-spin}@keyframes pdf-spin{to{transform:rotate(360deg)}}
