/* @settings

name: Typst Mate
id: typst-mate
settings:
- id: math-rendering
  title: Math Rendering
  type: heading
  level: 1
  collapsed: false
- id: match-mathjax-spacing
  title: Match MathJax Spacing
  description: "Add vertical spacing to display and codeblock equations to match MathJax rendering. You can also use `Empty Line Around Math Blocks` in Linter plugin instead."
  type: class-toggle
- id: typstmate-theme
  title: Theme
  type: heading
  level: 1
  collapsed: true
- id: typstmate-primary
  title: Primary Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "rgba(25, 24, 31, 1)"
  default-dark: "rgba(253, 253, 253, 1)"
- id: typstmate-nav
  title: Nav Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "rgba(59, 58, 72, 1)"
  default-dark: "rgba(239, 240, 243, 1)"
- id: typstmate-secondary
  title: Secondary Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "rgba(86, 85, 101, 1)"
  default-dark: "rgba(163, 167, 183, 1)"
- id: typstmate-brand-secondary
  title: Brand Secondary Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "rgba(10, 54, 73, 1)"
  default-dark: "rgb(175, 209, 209)"
- id: typstmate-brand
  title: Brand Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "rgba(17, 86, 108, 1)"
  default-dark: "rgba(217, 248, 244, 1)"
- id: typstmate-inverted
  title: Inverted Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "rgba(253, 253, 253, 1)"
  default-dark: "rgba(17, 16, 21, 1)"
- id: typstmate-disabled
  title: Disabled Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "rgba(25, 24, 31, 0.5)"
  default-dark: "rgba(253, 253, 253, 0.5)"
- id: typstmate-link
  title: Link Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "rgba(0, 122, 255, 1)"
  default-dark: "#3da8ff"
- id: typstmate-drop
  title: Drop Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "rgba(0, 41, 140, 1)"
  default-dark: "#e8f9ff"
- id: typstmate-critical
  title: Critical Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "rgba(185, 49, 45, 1)"
  default-dark: "rgba(247, 90, 91, 1)"
- id: typstmate-warning
  title: Warning Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#b14c00"
  default-dark: "rgb(255, 149, 84, 1)"
- id: typstmate-gutter
  title: Gutter Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "rgba(189, 191, 204, 1)"
  default-dark: "rgba(59, 58, 72, 1)"
- id: typstmate-gutter-active
  title: Gutter Active Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "rgb(176, 179, 194)"
  default-dark: "rgb(176, 179, 194)"
- id: typstmate-c-comment
  title: C Comment Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#74747c"
  default-dark: "#b0b3c2"
- id: typstmate-c-monospace
  title: C Monospace Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#6b6b6f"
  default-dark: "#caccd6"
- id: typstmate-c-math-delim
  title: C Math Delim Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#198810"
  default-dark: "#80f4b6"
- id: typstmate-c-math-op
  title: C Math Op Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#1d6c76"
  default-dark: "#d9f8f4"
- id: typstmate-c-list-marker
  title: C List Marker Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#8b41b1"
  default-dark: "#caa8ff"
- id: typstmate-c-escape
  title: C Escape Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#1d6c76"
  default-dark: "#d9f8f4"
- id: typstmate-c-keyword
  title: C Keyword Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#d73948"
  default-dark: "#ffa49d"
- id: typstmate-c-null
  title: C Null Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#d73948"
  default-dark: "#ffa49d"
- id: typstmate-c-atom
  title: C Atom Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#d73948"
  default-dark: "#ffa49d"
- id: typstmate-c-bool
  title: C Bool Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#d73948"
  default-dark: "#ffa49d"
- id: typstmate-c-number
  title: C Number Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#b60157"
  default-dark: "#ff7d79"
- id: typstmate-c-string
  title: C String Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#198810"
  default-dark: "#80f4b6"
- id: typstmate-c-func
  title: C Func Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#4b69c6"
  default-dark: "#7cd5ff"
- id: typstmate-c-interpolated
  title: C Interpolated Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#8b41b1"
  default-dark: "#caa8ff"
- id: typstmate-success
  title: Success Color
  type: variable-themed-color
  format: hex
  opacity: true
  default-light: "#1e7c61"
  default-dark: "#5de8a4"
*/

.match-mathjax-spacing .typstmate-display {
  margin-top: 1em;
  margin-bottom: 1em;
}

.match-mathjax-spacing .typstmate-codeblock {
  margin-top: 1em;
  margin-bottom: 1em;
}
.cm-diagnostic:has(.typstmate-diag){background:0 0!important;border:none!important;margin:0!important;padding:0!important}.typstmate-diag{background-color:var(--background-secondary)}.typstmate-diag-hints{color:var(--text-normal);margin-top:4px}typstmate-svg{contain:content}.typst-text{pointer-events:bounding-box;cursor:pointer}.typst-text:hover path,.typst-text:hover use,.typst-text:hover rect,.typst-text:hover polygon,.typst-text:hover circle{fill:var(--interactive-accent)!important}.typstmate-error{color:red;cursor:pointer;background-color:#ff0}.typstmate-inline{display:inline-block}.typstmate-inline.typstmate-style-inline,.typstmate-inline.typstmate-style-baseline{vertical-align:baseline}.typstmate-inline.typstmate-style-baseline typstmate-svg svg{vertical-align:0!important}.typstmate-inline.typstmate-style-middle{vertical-align:middle}.typstmate-inline.typstmate-style-middle typstmate-svg svg{vertical-align:0!important}.typstmate-display.typstmate-style-block-center{text-align:center}.markdown-source-view.mod-cm6 .cm-content>[contenteditable=false]:has(>.typstmate-codeblock){contain:none!important}.typstmate-codeblock.typstmate-style-codeblock svg{margin-top:1em;margin-bottom:1em}.typstmate-codeblock.typstmate-style-block-center{text-align:center}.typstmate-display,.typstmate-codeblock,.typstmate-excalidraw{-webkit-overflow-scrolling:touch;margin-left:0;margin-right:0;display:block;overflow-x:auto}.typstmate-inline,.typstmate-display,.typstmate-codeblock,.typstmate-excalidraw{overflow:visible}.typstmate-codeblockpreview{padding-top:1em;padding-bottom:1em}.typstmate-inlinemathpreview{left:var(--preview-left,0);top:var(--preview-top,0);z-index:200;background:var(--background-secondary);border:1px solid var(--background-modifier-border);opacity:.95;-webkit-user-select:none;user-select:none;pointer-events:none;border-radius:8px;padding:6px 12px;position:fixed;box-shadow:0 4px 16px #0000002e}.typstmate-debug-panel{z-index:100;background:var(--background-secondary);border:1px solid var(--background-modifier-border);white-space:pre;opacity:.8;pointer-events:none;flex-direction:column;gap:2px;padding:4px 8px;font-family:monospace;font-size:16px;display:flex;position:absolute;bottom:0;right:0}body.theme-light{--typstmate-primary:#19181f;--typstmate-nav:#3b3a48;--typstmate-secondary:#565565;--typstmate-brand-secondary:#0a3649;--typstmate-brand:#11566c;--typstmate-inverted:#fdfdfd;--typstmate-disabled:#19181f80;--typstmate-link:#007aff;--typstmate-drop:#00298c;--typstmate-critical:#b9312d;--typstmate-warning:#b14c00;--typstmate-gutter:#bdbfcc;--typstmate-gutter-active:#b0b3c2;--typstmate-c-comment:#74747c;--typstmate-c-monospace:#6b6b6f;--typstmate-c-math-delim:#198810;--typstmate-c-math-op:#1d6c76;--typstmate-c-list-marker:#8b41b1;--typstmate-c-escape:#1d6c76;--typstmate-c-keyword:#d73948;--typstmate-c-null:#d73948;--typstmate-c-atom:#d73948;--typstmate-c-bool:#d73948;--typstmate-c-number:#b60157;--typstmate-c-string:#198810;--typstmate-c-func:#4b69c6;--typstmate-c-interpolated:#8b41b1;--typstmate-success:#1e7c61}body.theme-dark{--typstmate-primary:#fdfdfd;--typstmate-nav:#eff0f3;--typstmate-secondary:#a3a7b7;--typstmate-brand-secondary:#afd1d1;--typstmate-brand:#d9f8f4;--typstmate-inverted:#111015;--typstmate-disabled:#fdfdfd80;--typstmate-link:#3da8ff;--typstmate-drop:#e8f9ff;--typstmate-critical:#f75a5b;--typstmate-warning:#ff9554;--typstmate-gutter:#3b3a48;--typstmate-gutter-active:#b0b3c2;--typstmate-c-comment:#b0b3c2;--typstmate-c-monospace:#caccd6;--typstmate-c-math-delim:#80f4b6;--typstmate-c-math-op:#d9f8f4;--typstmate-c-list-marker:#caa8ff;--typstmate-c-escape:#d9f8f4;--typstmate-c-keyword:#ffa49d;--typstmate-c-null:#ffa49d;--typstmate-c-atom:#ffa49d;--typstmate-c-bool:#ffa49d;--typstmate-c-number:#ff7d79;--typstmate-c-string:#80f4b6;--typstmate-c-func:#7cd5ff;--typstmate-c-interpolated:#caa8ff;--typstmate-success:#5de8a4}.typstmate-snippets{left:var(--preview-left,0);top:var(--preview-top,0);z-index:200;background:var(--background-secondary);-webkit-user-select:none;user-select:none;opacity:.97;border:1px solid var(--background-modifier-border);box-sizing:border-box;border-radius:8px;flex-direction:column;max-height:600px;padding:2px 3px;transition:opacity .13s;display:flex;position:fixed;overflow-y:auto;box-shadow:0 4px 16px #0000002e}.typstmate-snippets .item{cursor:pointer;border-bottom:1px solid var(--background-modifier-border);padding:4px 6px}.typstmate-snippets .item.selected{background-color:var(--nav-item-background-selected)}body.typstmate-snippet-suggesting .typstmate-symbols,body.typstmate-snippet-suggesting .typstmate-inlinemathpreview{display:none!important}.typstmate-symbols{left:var(--preview-left,0);top:var(--preview-top,0);z-index:200;background:var(--background-secondary);-webkit-user-select:none;user-select:none;opacity:.97;border:1px solid var(--background-modifier-border);box-sizing:border-box;border-radius:8px;flex-direction:column;max-height:600px;padding:2px 3px;transition:opacity .13s;display:flex;position:fixed;overflow-y:auto;box-shadow:0 4px 16px #0000002e}.typstmate-symbols .item{cursor:pointer;border-bottom:1px solid var(--background-modifier-border);padding:4px 6px}.typstmate-symbols .item.bookmark{font-weight:700}.typstmate-symbols .item.variant:not(.selected),.typstmate-symbols .item.substring.latex:not(.selected){opacity:.5}.typstmate-symbols .item.substring.typst:not(.selected){opacity:.2}.typstmate-symbols .item.selected{background-color:var(--nav-item-background-selected)}body.typstmate-symbol-suggesting .typstmate-inlinemathpreview{display:none!important}.typstmate-atmode{background:linear-gradient(66.6deg,#ff9fb3 0%,#ffd29a 18%,#fff48b 36%,#bff0a8 54%,#9dd7ff 72%,#d3b7ff 90%,#ff9fb3 100%) 0 0/200%;color:#0000;-webkit-background-clip:text;background-clip:text;animation:1s linear infinite typstmate-rainbow}@keyframes typstmate-rainbow{0%{background-position:100%}to{background-position:-100%}}.typstmate-jump-ripple{z-index:1000;border:4px solid var(--interactive-accent);pointer-events:none;border-radius:50%;width:0;height:0;animation:1s ease-out typstmate-ripple-effect;position:fixed;transform:translate(-50%,-50%)}@keyframes typstmate-ripple-effect{0%{opacity:1;border-width:4px;width:0;height:0}to{opacity:0;border-width:0;width:calc(max(100vw,100vh)/3);height:calc(max(100vw,100vh)/3)}}.typstmate-compiler-tabs{border-bottom:1px solid var(--background-modifier-border);margin-bottom:1em;display:flex}.typstmate-compiler-tab{text-align:center;cursor:pointer;color:var(--text-muted);border-bottom:2px solid #0000;flex:1;padding:.8em;transition:all .2s}.typstmate-compiler-tab:hover{background-color:var(--background-modifier-hover);color:var(--text-normal)}.typstmate-compiler-tab.active{border-bottom-color:var(--interactive-accent);color:var(--text-normal);font-weight:600}.typstmate-settings-table{border:1px solid var(--background-modifier-border);background-color:var(--background-primary);border-radius:6px;width:100%;max-height:400px;margin:1em 0;padding:8px;overflow-y:auto}.typstmate-settings-table .setting-item{border-bottom:1px solid var(--background-modifier-border);margin:0;padding:8px 0}.typstmate-settings-table .setting-item:last-child{border-bottom:none}.typstmate-settings-table .setting-item-info{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.typstmate-settings-table .setting-item-control{gap:4px;display:flex}.typstmate-package-name{font-family:var(--font-monospace);color:var(--text-muted);margin-top:2px;font-size:.9em}.typstmate-font-info{color:var(--text-muted);border-left:2px solid var(--background-modifier-border);margin-top:4px;padding-left:8px;font-size:.85em}.typstmate-settings-table table{border-collapse:collapse;width:100%}.typstmate-settings-table th,.typstmate-settings-table td{text-align:left;border-bottom:1px solid var(--background-modifier-border);padding:8px 12px}.typstmate-settings-table th{background:var(--background-primary);box-shadow:0 1px 0 var(--background-modifier-border);font-weight:600;position:sticky;top:0}.typstmate-settings-processor{border:1px solid var(--background-modifier-border);background-color:var(--background-primary);border-radius:4px;flex-direction:column;margin:.5em 0;padding:.5em;display:flex}.typstmate-settings-processor>.typstmate-settings-processor-bottom{align-items:stretch;gap:4px;display:flex}.typstmate-settings-processor-bottom>.typstmate-settings-processor-move-buttons{flex-direction:column;align-items:center;gap:0;display:flex}.typstmate-settings-processor-bottom .typstmate-button-danger{height:auto}.typstmate-settings-processor-bottom textarea{resize:vertical;field-sizing:content;background:var(--background-primary);width:100%;min-height:4em;color:var(--text-normal);border:1px solid var(--background-modifier-border);font-family:var(--font-monospace);border-radius:3px;padding:4px 8px;font-size:.9em}.typstmate-processor-tabs{border-bottom:1px solid var(--background-modifier-border);margin-bottom:1em;display:flex}.typstmate-processor-tab{text-align:center;cursor:pointer;color:var(--text-muted);border-bottom:2px solid #0000;flex:1;padding:.8em;transition:all .2s}.typstmate-processor-tab:hover{background-color:var(--background-modifier-hover);color:var(--text-normal)}.typstmate-processor-tab.active{border-bottom-color:var(--interactive-accent);color:var(--text-normal);font-weight:600}.typstmate-settings-processor.dragging{opacity:.5;border-color:var(--interactive-accent)}.typstmate-settings-processor.drag-over{border-top:2px solid var(--interactive-accent)}.typstmate-drag-handle-icon{cursor:grab;color:var(--text-muted);align-items:center;margin-right:.5em;display:flex}.typstmate-processor-id-error{border-color:var(--text-error)!important}.typstmate-processor-id-error:focus{border-color:var(--text-error)!important;box-shadow:0 0 0 2px rgba(var(--text-error-rgb), .2)!important}.typstmate-settings-preview{background:var(--background-primary);border:1px solid var(--background-modifier-border);border-radius:4px;margin:1em 0;padding:1em}.typstmate-settings-preview-preview{background:var(--background-primary);border:1px solid var(--background-modifier-border);width:100%;min-height:100px;font-family:var(--font-monospace);white-space:pre-wrap;border-radius:4px;margin:1em 0;padding:.5em;overflow:auto}.typstmate-settings-preview-input{background:var(--background-primary);border:1px solid var(--background-modifier-border);border-radius:4px;flex-wrap:wrap;align-items:center;gap:4px;margin:.5em 0;padding:.5em;display:flex}.typstmate-settings-preview-input span{color:var(--text-muted);font-family:var(--font-monospace);white-space:pre;padding:0 2px}.typstmate-settings-preview-input input[type=text]{border:1px solid var(--background-modifier-border);background:var(--background-primary);min-width:100px;color:var(--text-normal);font-family:var(--font-monospace);border-radius:3px;flex:1;padding:4px 8px;font-size:.9em}.typstmate-settings-preview-input textarea{border:1px solid var(--background-modifier-border);background:var(--background-primary);width:100%;min-height:100px;color:var(--text-normal);font-family:var(--font-monospace);resize:vertical;box-shadow:none;border-radius:3px;outline:none;margin:4px 0;padding:8px;font-size:.9em;display:block}.typstmate-button-group{gap:4px;margin:.5em 0;display:flex}.typstmate-button-primary{background:var(--interactive-accent);color:var(--text-on-accent);border-color:var(--interactive-accent)}.typstmate-button-primary:hover{background:var(--interactive-accent-hover);border-color:var(--interactive-accent-hover)}.typstmate-button{border:1px solid var(--background-modifier-border);background:var(--background-primary);color:var(--text-normal);cursor:pointer;border-radius:4px;padding:4px 8px;transition:background-color .15s}.typstmate-button:hover{background-color:var(--background-modifier-hover)}.typstmate-button.typstmate-button-danger{color:var(--text-error);border-color:var(--background-modifier-error)}.typstmate-button-danger:hover{background-color:var(--background-modifier-error);color:var(--text-on-accent)}.typstmate-button-icon{width:24px;height:24px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.typstmate-button-icon:hover{color:var(--text-normal);background-color:var(--background-modifier-hover);border-radius:4px}.typstmate-form-group{margin:1em 0}.typstmate-form-label{color:var(--text-normal);margin-bottom:.5em;font-weight:600;display:block}.typstmate-form-control{border:1px solid var(--background-modifier-border);background:var(--background-primary);width:100%;color:var(--text-normal);font-family:var(--font-family);field-sizing:content;border-radius:3px;padding:6px 8px;font-size:.9em}.typstmate-form-control.typstmate-preamble{min-height:6em}.typstmate-form-control:focus{border-color:var(--interactive-accent);box-shadow:0 0 0 1px var(--interactive-accent);outline:none}.typstmate-hidden{display:none}.typstmate-mt-1{margin-top:.5em}.typstmate-mt-2{margin-top:1em}.typstmate-mb-1{margin-bottom:.5em}.typstmate-mb-2{margin-bottom:1em}.typstmate-text-muted{color:var(--text-muted)}.typstmate-text-center{text-align:center}.typstmate-settings-tabs{border-bottom:1px solid var(--background-modifier-border);margin-bottom:1.5em;overflow-x:auto;display:flex!important}.typstmate-settings-tab{cursor:pointer;color:var(--text-muted);white-space:nowrap;border-bottom:2px solid #0000;margin-bottom:-1px;padding:.8em 1.2em;font-size:.9em;font-weight:500;transition:all .2s}.typstmate-settings-tab:hover{color:var(--text-normal);background:var(--background-modifier-hover)}.typstmate-settings-tab.active{border-bottom-color:var(--interactive-accent);color:var(--text-normal);background:0 0;font-weight:600}.typstmate-settings-tabs-select{background:var(--background-primary);width:100%;color:var(--text-normal);border:1px solid var(--background-modifier-border);border-radius:4px;margin-bottom:1.5em;padding:8px}.typstmate-pdf-viewer-container{background-color:var(--background-primary);flex-direction:column;width:100%;height:100%;padding:0;display:flex}.typstmate-pdf-controls{background-color:var(--background-secondary);border-bottom:1px solid var(--background-modifier-border);z-index:100;flex-shrink:0;align-items:center;gap:8px;padding:8px;display:flex;position:sticky;top:0}.typstmate-pdf-controls button{border:1px solid var(--background-modifier-border);background-color:var(--background-primary);color:var(--text-normal);cursor:pointer;border-radius:4px;min-width:32px;padding:4px 8px;font-size:12px}.typstmate-pdf-controls button:hover{background-color:var(--background-modifier-hover)}.typstmate-pdf-controls span{color:var(--text-muted);text-align:center;min-width:80px;font-size:12px}.typstmate-pdf-viewer-area{background-color:var(--background-primary);flex:1;position:relative;overflow:auto}.typstmate-pdf-page-container{flex-direction:column;align-items:center;gap:20px;padding:20px;display:flex}.typstmate-pdf-page-container canvas{border:1px solid var(--background-modifier-border);box-shadow:0 2px 8px #0000001a}.typstmate-pdf-text-layer{pointer-events:none;-webkit-user-select:text;user-select:text;transform-origin:0 0;position:absolute;top:0;left:0}:root{--typst-pdf-text-offset:calc(var(--typst-pdf-default-font-size,12px) / 2);--typst-pdf-default-font-size:12px;--typst-pdf-text-font-size:12px;--typst-pdf-text-line-height:1;--typst-pdf-text-font-family:inherit;--typst-pdf-text-transform-origin:0 0}.typstmate-pdf-text-layer span{color:#0000;pointer-events:auto;cursor:text;-webkit-user-select:text;user-select:text;white-space:pre;font-size:var(--typst-pdf-text-font-size);line-height:var(--typst-pdf-text-line-height);font-family:var(--typst-pdf-text-font-family);transform-origin:var(--typst-pdf-text-transform-origin);position:absolute}.typstmate-pdf-text-layer span::selection{color:#0000;background-color:#0077ff4d}.typstmate-pdf-text-layer span::selection{color:#0000;background-color:#0077ff4d}.typstmate-pdf-page{transform-origin:0 0;margin-bottom:20px;position:relative}.typstmate-pdf-page canvas{border:1px solid var(--background-modifier-border);box-shadow:0 2px 8px #0000001a}.cm-error-lens-line{position:relative}.cm-error-lens-line-error{background-color:color-mix(in srgb, var(--typstmate-critical) 20%, transparent)!important}.cm-error-lens-line-warning{background-color:color-mix(in srgb, var(--typstmate-warning) 20%, transparent)!important}.cm-error-lens-widget{opacity:.8;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:auto;cursor:help;border-radius:4px;margin-left:2ch;padding:0 6px;font-size:1em;display:inline-block}.cm-error-lens-widget-error{color:var(--typstmate-critical)}.cm-error-lens-widget-warning{color:var(--typstmate-warning)}.cm-typstmate-status-bar{font-size:var(--font-ui-smaller);font-family:var(--font-monospace-theme);font-variant-numeric:tabular-nums;color:var(--text-muted);background-color:var(--background-secondary-alt);border:1px solid var(--background-modifier-border);border-radius:var(--radius-s);z-index:10;-webkit-user-select:none;user-select:none;pointer-events:none;box-shadow:var(--shadow-s);opacity:.85;justify-content:center;align-items:center;gap:8px;padding:4px 10px;transition:opacity .2s ease-in-out;display:flex;position:absolute;bottom:10px;right:10px}.cm-typstmate-status-bar:hover{opacity:1}.cm-typstmate-status-bar-item{align-items:center;display:flex}.cm-typstmate-status-bar-divider{background-color:var(--background-modifier-border);width:1px;height:12px}.typstmate-snippet-code{resize:vertical;field-sizing:content;background:var(--background-primary);width:100%;min-height:4em;color:var(--text-normal);border:1px solid var(--background-modifier-border);font-family:var(--font-monospace);border-radius:3px;padding:4px 8px;font-size:.9em}.typstmate-leaf{height:100%;margin:1em}.typstmate-leaf div.typstmate-menu{display:flex}.typstmate-leaf div.typstmate-menu button{margin-left:auto}.typstmate-leaf div.typstmate-content{width:100%;height:100%;margin-top:1em}.typstmate-leaf div.typstmate-content select{margin-bottom:4pt}.typstmate-leaf div.typstmate-content iframe{width:100%;height:100%}.typstmate-leaf-snippet{border-bottom:1px solid var(--background-accent);margin:1.5em 0}.typstmate-leaf-snippet-preview{white-space:pre-wrap}.typstmate-leaf-snippetext-preview{margin:1.5em, 0}@font-face{font-family:NewComputerModernMath;src:url(data:font/otf;base64,[encoded data, 1584716 characters])format("opentype");font-weight:400;font-style:normal}.typstmate-symbol{font-family:NewComputerModernMath,MJXZERO,MJXTEX-S1,MJXTEX-S4,MJXTEX,MJXTEX-A,monospace}.cm-line{font-family:"NewComputerModernMath", var(--font-family), monospace}
/*$vite$:1*/