.latex-workspace-module__wddfla__workspace{--code-keyword:#5a329f;--code-string:#006546;--code-number:#8a4700;--code-comment:#555f70;--code-type:#31578d;border:1px solid var(--border);border-radius:calc(var(--radius) * 1.25);background:var(--background);box-shadow:0 1.5rem 4rem color-mix(in srgb, var(--foreground) 8%, transparent);position:relative;overflow:hidden;container-type:inline-size}.latex-workspace-module__wddfla__workspaceToolbar,.latex-workspace-module__wddfla__toolbarGroup,.latex-workspace-module__wddfla__panelHeading,.latex-workspace-module__wddfla__panelHeading>span,.latex-workspace-module__wddfla__primaryButton,.latex-workspace-module__wddfla__secondaryButton,.latex-workspace-module__wddfla__toggleLabel,.latex-workspace-module__wddfla__engineLabel,.latex-workspace-module__wddfla__fileRow button,.latex-workspace-module__wddfla__errorBanner{align-items:center;display:flex}.latex-workspace-module__wddfla__workspaceToolbar{border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--card) 74%, var(--background));justify-content:space-between;gap:.75rem;min-height:3.75rem;padding:.55rem .75rem}.latex-workspace-module__wddfla__toolbarGroup{gap:.5rem}.latex-workspace-module__wddfla__primaryButton,.latex-workspace-module__wddfla__secondaryButton{border-radius:calc(var(--radius) * .75);justify-content:center;gap:.45rem;min-height:2.5rem;padding-inline:.8rem;font-size:.8rem;font-weight:700}.latex-workspace-module__wddfla__primaryButton{background:var(--primary);color:var(--primary-foreground)}.latex-workspace-module__wddfla__secondaryButton{border:1px solid var(--border);background:var(--background)}.latex-workspace-module__wddfla__primaryButton:disabled,.latex-workspace-module__wddfla__secondaryButton:disabled{cursor:not-allowed;opacity:.6}.latex-workspace-module__wddfla__toggleLabel,.latex-workspace-module__wddfla__engineLabel{min-height:2.5rem;color:var(--muted-foreground);gap:.45rem;font-size:.78rem;font-weight:650}.latex-workspace-module__wddfla__toggleLabel input{accent-color:var(--primary)}.latex-workspace-module__wddfla__engineLabel select{border:1px solid var(--border);border-radius:calc(var(--radius) * .65);background:var(--background);height:2.25rem;color:var(--foreground);padding-inline:.5rem}.latex-workspace-module__wddfla__workspaceGrid{grid-template-columns:var(--file-width) .625rem minmax(0, var(--editor-share)) .625rem minmax(0, var(--preview-share));height:clamp(34rem,70dvh,49rem);min-height:0;display:grid}.latex-workspace-module__wddfla__workspaceGrid[data-files-visible=false]{grid-template-columns:minmax(0, var(--editor-share)) .625rem minmax(0, var(--preview-share))}.latex-workspace-module__wddfla__workspaceGrid[data-files-visible=false] .latex-workspace-module__wddfla__filesPanel,.latex-workspace-module__wddfla__workspaceGrid[data-files-visible=false] .latex-workspace-module__wddfla__fileSplitter{display:none}.latex-workspace-module__wddfla__workspaceGrid[data-files-visible=false] .latex-workspace-module__wddfla__editorPanel{grid-column:1}.latex-workspace-module__wddfla__workspaceGrid[data-files-visible=false] .latex-workspace-module__wddfla__previewSplitter{grid-column:2}.latex-workspace-module__wddfla__workspaceGrid[data-files-visible=false] .latex-workspace-module__wddfla__previewPanel{grid-column:3}.latex-workspace-module__wddfla__panel{min-width:0;min-height:0}.latex-workspace-module__wddfla__splitter{z-index:1;cursor:col-resize;touch-action:none;background:var(--border);min-width:0;position:relative}.latex-workspace-module__wddfla__splitter:after{background:color-mix(in srgb, var(--foreground) 16%, transparent);content:"";border-radius:999px;width:4px;transition:width .15s,background-color .15s;position:absolute;top:1rem;bottom:1rem;left:50%;transform:translate(-50%)}.latex-workspace-module__wddfla__splitter:hover:after,.latex-workspace-module__wddfla__splitter:focus-visible:after,.latex-workspace-module__wddfla__workspaceGrid[data-resizing=true] .latex-workspace-module__wddfla__splitter:after{background:var(--primary);width:6px}.latex-workspace-module__wddfla__splitter:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}.latex-workspace-module__wddfla__workspaceGrid[data-resizing=true]{cursor:col-resize;-webkit-user-select:none;user-select:none}.latex-workspace-module__wddfla__panelHeading{border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--card) 52%, var(--background));letter-spacing:.01em;justify-content:space-between;gap:.5rem;height:2.75rem;padding-inline:.75rem;font-size:.76rem;font-weight:750}.latex-workspace-module__wddfla__panelHeading>span{text-overflow:ellipsis;white-space:nowrap;gap:.4rem;min-width:0;overflow:hidden}.latex-workspace-module__wddfla__panelHeading small{color:var(--muted-foreground);font-size:.68rem;font-weight:600}.latex-workspace-module__wddfla__panelCollapseButton{border-radius:calc(var(--radius) * .5);width:1.9rem;height:1.9rem;color:var(--muted-foreground);flex:none;place-items:center;display:grid}.latex-workspace-module__wddfla__panelCollapseButton:hover,.latex-workspace-module__wddfla__panelCollapseButton:focus-visible{background:var(--muted);color:var(--foreground)}.latex-workspace-module__wddfla__filesPanel{background:color-mix(in srgb, var(--card) 42%, var(--background));flex-direction:column;height:100%;display:flex;overflow:hidden}.latex-workspace-module__wddfla__fileList{flex:1;padding-block:.45rem;overflow:auto}.latex-workspace-module__wddfla__treeRoot{min-height:100%}.latex-workspace-module__wddfla__fileRow{align-items:center;min-width:0;padding:.1rem .45rem;display:flex}.latex-workspace-module__wddfla__fileRow[data-active=true]{background:color-mix(in srgb, var(--primary) 12%, transparent);border-radius:calc(var(--radius) * .4)}.latex-workspace-module__wddfla__fileRow[data-active=true] button{color:var(--foreground);font-weight:650}.latex-workspace-module__wddfla__fileRow:hover:not([data-active=true]){background:color-mix(in srgb, var(--foreground) 4%, transparent);border-radius:calc(var(--radius) * .4)}.latex-workspace-module__wddfla__fileRow button{text-align:start;min-width:0;font-family:var(--font-mono), monospace;flex:1;gap:.45rem;padding:.5rem .4rem;font-size:.8125rem}.latex-workspace-module__wddfla__fileRow button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.latex-workspace-module__wddfla__fileRow small{color:var(--foreground);text-transform:uppercase;font-size:.6875rem;font-weight:800}.latex-workspace-module__wddfla__folderRow{gap:.1rem}.latex-workspace-module__wddfla__fileIconTex{color:var(--primary);flex-shrink:0}.latex-workspace-module__wddfla__fileIconMedia{color:#10b981;flex-shrink:0}.latex-workspace-module__wddfla__fileIconCode{color:#f59e0b;flex-shrink:0}.latex-workspace-module__wddfla__fileIconBib{color:#8b5cf6;flex-shrink:0}.latex-workspace-module__wddfla__fileIconGeneric{color:var(--muted-foreground);flex-shrink:0}.dark .latex-workspace-module__wddfla__fileIconMedia{color:#34d399}.dark .latex-workspace-module__wddfla__fileIconCode{color:#fbbf24}.dark .latex-workspace-module__wddfla__fileIconBib{color:#a78bfa}.latex-workspace-module__wddfla__treeRenameForm{flex:1;min-width:0;padding-inline-end:.4rem}.latex-workspace-module__wddfla__treeRenameForm input{border:1px solid var(--primary);border-radius:calc(var(--radius) * .45);background:var(--background);width:100%;height:1.8rem;color:var(--foreground);font-family:var(--font-mono), monospace;outline:2px solid color-mix(in srgb, var(--primary) 20%, transparent);padding-inline:.4rem;font-size:.75rem}.latex-workspace-module__wddfla__treeContextMenu{z-index:60;border:1px solid var(--border);border-radius:calc(var(--radius) * .75);background:var(--popover,var(--background));width:13rem;box-shadow:0 .9rem 2.5rem color-mix(in srgb, var(--foreground) 18%, transparent);gap:.15rem;padding:.3rem;display:grid;position:fixed}.latex-workspace-module__wddfla__treeContextMenu button{border-radius:calc(var(--radius) * .5);min-height:2.15rem;color:var(--foreground);text-align:start;align-items:center;gap:.55rem;padding-inline:.55rem;font-size:.75rem;font-weight:650;display:flex}.latex-workspace-module__wddfla__treeContextMenu button:hover:not(:disabled),.latex-workspace-module__wddfla__treeContextMenu button:focus-visible{background:var(--muted);outline:none}.latex-workspace-module__wddfla__treeContextMenu button[data-danger=true]{color:var(--destructive)}.latex-workspace-module__wddfla__treeContextMenu button:disabled{opacity:.38}.latex-workspace-module__wddfla__creationLocation{border-top:1px solid var(--border);width:100%;color:var(--muted-foreground);text-align:start;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono), monospace;padding:.45rem .65rem 0;font-size:.75rem;display:block;overflow:hidden}.latex-workspace-module__wddfla__creationLocation:hover{color:var(--foreground)}.latex-workspace-module__wddfla__newFileForm{grid-template-columns:minmax(0,1fr) 2.4rem 2.4rem;gap:.35rem;padding:.4rem .55rem .55rem;display:grid}.latex-workspace-module__wddfla__newFileForm input{border:1px solid var(--border);border-radius:calc(var(--radius) * .65);background:var(--background);min-width:0;height:2.25rem;font-family:var(--font-mono), monospace;padding-inline:.55rem;font-size:.75rem}.latex-workspace-module__wddfla__newFileForm button{border-radius:calc(var(--radius) * .65);background:var(--secondary);place-items:center;display:grid}.latex-workspace-module__wddfla__fileActions{grid-template-columns:1fr 1fr;gap:.625rem;margin-top:.25rem;padding:.35rem .55rem .55rem;display:grid}.latex-workspace-module__wddfla__fileActions button{border:1px solid var(--border);border-radius:calc(var(--radius) * .6);min-height:2.25rem;font-size:.75rem;font-weight:650;transition:background-color .15s,border-color .15s,color .15s}.latex-workspace-module__wddfla__fileActions button:disabled{opacity:.4}.latex-workspace-module__wddfla__fileActions .latex-workspace-module__wddfla__fullWidthAction{grid-column:1/-1}.latex-workspace-module__wddfla__setRootButton{background:var(--background);color:var(--foreground)}.latex-workspace-module__wddfla__setRootButton:hover:not(:disabled){background:var(--muted);border-color:var(--primary)}.latex-workspace-module__wddfla__removeFileButton{background:var(--background);color:var(--destructive);border-color:color-mix(in srgb, var(--destructive) 35%, var(--border))}.latex-workspace-module__wddfla__removeFileButton:hover:not(:disabled){background:color-mix(in srgb, var(--destructive) 10%, transparent);border-color:var(--destructive)}.latex-workspace-module__wddfla__sidebarViewToggle{background:color-mix(in srgb, var(--muted) 70%, transparent);border-radius:calc(var(--radius) * .5);align-items:center;gap:.2rem;padding:.15rem;display:flex}.latex-workspace-module__wddfla__sidebarTab{border-radius:calc(var(--radius) * .4);color:var(--muted-foreground);cursor:pointer;background:0 0;border:none;align-items:center;gap:.35rem;padding:.2rem .5rem;font-size:.72rem;font-weight:600;transition:all .15s;display:flex}.latex-workspace-module__wddfla__sidebarTab:hover{color:var(--foreground)}.latex-workspace-module__wddfla__sidebarTabActive{background:var(--background);color:var(--foreground);box-shadow:0 1px 2px #00000014}.latex-workspace-module__wddfla__sidebarBody{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.latex-workspace-module__wddfla__sidebarSection{flex-direction:column;min-height:0;transition:flex .2s;display:flex}.latex-workspace-module__wddfla__sidebarSectionFiles{border-bottom:1px solid var(--border);flex:55%}.latex-workspace-module__wddfla__sidebarSectionOutline{flex:45%}.latex-workspace-module__wddfla__sidebarSectionCollapsed{flex:none!important}.latex-workspace-module__wddfla__sidebarSectionExpandedOnly{border-bottom:none;flex:100%!important}.latex-workspace-module__wddfla__sectionHeader{background:color-mix(in srgb, var(--card) 65%, var(--background));border-bottom:1px solid var(--border);letter-spacing:.02em;text-transform:uppercase;height:2rem;color:var(--muted-foreground);-webkit-user-select:none;user-select:none;flex-shrink:0;justify-content:space-between;align-items:center;padding:0 .55rem;font-size:.7rem;font-weight:700;display:flex}.latex-workspace-module__wddfla__sectionToggle{color:inherit;font-size:inherit;font-weight:inherit;cursor:pointer;border-radius:calc(var(--radius) * .4);background:0 0;border:none;align-items:center;gap:.45rem;padding:.2rem .35rem;display:flex}.latex-workspace-module__wddfla__sectionToggle:hover,.latex-workspace-module__wddfla__sectionToggle:focus-visible{color:var(--foreground)}.latex-workspace-module__wddfla__fileTreeContent{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.latex-workspace-module__wddfla__outlineBadge{background:color-mix(in srgb, var(--primary) 15%, transparent);min-width:1.15rem;height:1.15rem;color:var(--primary);border-radius:999px;justify-content:center;align-items:center;padding:0 .3rem;font-size:.65rem;font-weight:700;display:inline-flex}.latex-workspace-module__wddfla__outlineContainer{flex-direction:column;flex:1;min-height:0;padding:.35rem .25rem;display:flex;overflow-y:auto}.latex-workspace-module__wddfla__outlineRoot{flex-direction:column;gap:.1rem;display:flex}.latex-workspace-module__wddfla__outlineItem{border-radius:calc(var(--radius) * .4);width:100%;color:var(--foreground);text-align:start;cursor:pointer;background:0 0;border:none;align-items:center;gap:.45rem;padding-block:.4rem;padding-inline-end:.65rem;font-size:.78rem;transition:background-color .15s,color .15s;display:flex}.latex-workspace-module__wddfla__outlineItem:hover,.latex-workspace-module__wddfla__outlineItem:focus-visible{background:color-mix(in srgb, var(--primary) 10%, transparent);color:var(--primary);outline:none}.latex-workspace-module__wddfla__outlineTitle{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.latex-workspace-module__wddfla__outlineLine{font-family:var(--font-mono), monospace;color:var(--muted-foreground);border-radius:calc(var(--radius) * .3);background:color-mix(in srgb, var(--foreground) 6%, transparent);flex-shrink:0;padding:.05rem .3rem;font-size:.65rem}.latex-workspace-module__wddfla__outlineEmpty{text-align:center;color:var(--muted-foreground);flex-direction:column;justify-content:center;align-items:center;padding:1.5rem 1rem;display:flex}.latex-workspace-module__wddfla__outlineEmptyTitle{color:var(--foreground);margin:0 0 .25rem;font-size:.78rem;font-weight:600}.latex-workspace-module__wddfla__outlineEmptyText{margin:0;font-size:.7rem;line-height:1.4}.latex-workspace-module__wddfla__outlineIconPart{color:#ec4899;flex-shrink:0}.latex-workspace-module__wddfla__outlineIconChapter{color:#8b5cf6;flex-shrink:0}.latex-workspace-module__wddfla__outlineIconSection{color:var(--primary);flex-shrink:0}.latex-workspace-module__wddfla__outlineIconSub{color:#10b981;flex-shrink:0}.latex-workspace-module__wddfla__outlineIconSubsub{color:#f59e0b;flex-shrink:0}.latex-workspace-module__wddfla__editorPanel,.latex-workspace-module__wddfla__previewPanel{background:var(--background);flex-direction:column;display:flex}.latex-workspace-module__wddfla__editorHost{flex:1;min-height:0;position:relative;overflow:hidden}.latex-workspace-module__wddfla__initialSource{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--font-mono), monospace;margin:0;padding:1rem;font-size:13px;line-height:1.4;position:absolute;inset:0;overflow:auto}.latex-workspace-module__wddfla__editorHost .cm-editor{height:100%}.latex-workspace-module__wddfla__previewRoot{flex-direction:column;flex:1;min-height:0;display:flex}.latex-workspace-module__wddfla__previewToolbar{border-bottom:1px solid var(--border);min-height:2.45rem;color:var(--muted-foreground);scrollbar-width:thin;align-items:center;gap:.25rem;padding:.3rem .55rem;font-size:.7rem;display:flex;overflow-x:auto}.latex-workspace-module__wddfla__previewToolbar button{border-radius:calc(var(--radius) * .55);place-items:center;min-width:2rem;height:2rem;display:grid}.latex-workspace-module__wddfla__previewToolbar .latex-workspace-module__wddfla__fitButton{white-space:nowrap;width:auto;padding-inline:.55rem;display:inline-flex}.latex-workspace-module__wddfla__previewToolbar .latex-workspace-module__wddfla__fitButton[aria-pressed=true]{background:var(--muted);color:var(--foreground);font-weight:700}.latex-workspace-module__wddfla__zoomInput{border:1px solid var(--border);border-radius:calc(var(--radius) * .55);background:var(--background);width:3.8rem;height:2rem;color:var(--foreground);text-align:center;font-family:var(--font-mono), monospace;font-size:.68rem}.latex-workspace-module__wddfla__previewToolbar button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}.latex-workspace-module__wddfla__previewToolbar button:disabled{opacity:.35}.latex-workspace-module__wddfla__toolbarSpacer{flex:1}.latex-workspace-module__wddfla__canvasScroller{scrollbar-gutter:stable both-edges;background:#d9dde5;flex:1;padding:1.5rem;overflow:auto}.latex-workspace-module__wddfla__pdfCanvas{background:#fff;max-width:none;margin-inline:auto;display:block;box-shadow:0 .8rem 2rem #141a262e}.latex-workspace-module__wddfla__fitWidthCanvas{max-width:100%;height:auto!important}.latex-workspace-module__wddfla__fitPageCanvas{max-width:100%;max-height:100%;width:auto!important;height:auto!important}.latex-workspace-module__wddfla__previewEmpty{min-height:0;color:var(--muted-foreground);text-align:center;flex:1;place-items:center;padding:2rem;font-size:.85rem;line-height:1.55;display:grid}.latex-workspace-module__wddfla__status{border-bottom:1px solid var(--border);min-height:1.85rem;color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;padding:.4rem .75rem;font-size:.7rem;line-height:1.05rem;display:block;overflow:hidden}.latex-workspace-module__wddfla__status[data-status=failed]{color:var(--destructive)}.latex-workspace-module__wddfla__status[data-status=ready]{color:#237a45}.latex-workspace-module__wddfla__spinner{animation:.8s linear infinite latex-workspace-module__wddfla__spin}@keyframes latex-workspace-module__wddfla__spin{to{transform:rotate(360deg)}}.latex-workspace-module__wddfla__diagnostics{border-top:1px solid color-mix(in srgb, var(--destructive) 42%, var(--border));background:color-mix(in srgb, var(--destructive) 4%, var(--background));flex:none;max-height:11rem;font-size:.75rem;overflow:hidden}.latex-workspace-module__wddfla__diagnostics summary{cursor:pointer;color:var(--destructive);padding:.6rem .75rem;font-weight:750}.latex-workspace-module__wddfla__diagnostics ol{border-top:1px solid var(--border);max-height:10rem;padding:.5rem .75rem;list-style:none;overflow:auto}.latex-workspace-module__wddfla__diagnostics li+li{margin-top:.25rem}.latex-workspace-module__wddfla__diagnostics button{border-radius:calc(var(--radius) * .55);text-align:start;align-items:baseline;gap:.55rem;width:100%;padding:.45rem .55rem;display:flex}.latex-workspace-module__wddfla__diagnostics button:hover:not(:disabled),.latex-workspace-module__wddfla__diagnostics button:focus-visible{background:var(--secondary)}.latex-workspace-module__wddfla__diagnostics button:disabled{cursor:default}.latex-workspace-module__wddfla__diagnostics li[data-severity=error] button{color:var(--destructive)}.latex-workspace-module__wddfla__diagnostics li[data-severity=warning] button{color:#b45309}.latex-workspace-module__wddfla__diagnostics button span{color:var(--foreground)}.latex-workspace-module__wddfla__diagnostics strong{font-family:var(--font-mono), monospace}.latex-workspace-module__wddfla__errorBanner{border-top:1px solid color-mix(in srgb, var(--destructive) 45%, var(--border));color:var(--destructive);gap:.45rem;padding:.7rem 1rem;font-size:.78rem;font-weight:650}.latex-workspace-module__wddfla__localNotice{border-top:1px solid var(--border);color:var(--muted-foreground);padding:.7rem 1rem;font-size:.72rem;line-height:1.45}.latex-workspace-module__wddfla__hiddenInput,.latex-workspace-module__wddfla__mobileTabs{display:none}.latex-workspace-module__wddfla__workspaceDropOverlay{z-index:50;background:color-mix(in srgb, var(--background) 88%, transparent);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.latex-workspace-module__wddfla__workspaceDropCard{border:2px dashed var(--primary);border-radius:calc(var(--radius) * 1.5);background:color-mix(in srgb, var(--card) 95%, transparent);box-shadow:0 1rem 3rem color-mix(in srgb, var(--foreground) 15%, transparent);text-align:center;flex-direction:column;align-items:center;gap:.75rem;padding:2.5rem 3.5rem;display:flex}.latex-workspace-module__wddfla__workspaceDropIcon{color:var(--primary)}.latex-workspace-module__wddfla__workspaceDropTitle{color:var(--foreground);margin:0;font-size:1.125rem;font-weight:700}.latex-workspace-module__wddfla__workspaceDropSubtitle{color:var(--muted-foreground);margin:0;font-size:.8125rem}.latex-workspace-module__wddfla__editorTabBar{background:color-mix(in srgb, var(--card) 75%, var(--background));border-bottom:1px solid var(--border);scrollbar-width:thin;flex-shrink:0;align-items:center;gap:.2rem;min-height:2.35rem;padding:0 .25rem;display:flex;overflow-x:auto}.latex-workspace-module__wddfla__editorTabItem{border-radius:calc(var(--radius) * .4) calc(var(--radius) * .4) 0 0;color:var(--muted-foreground);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;background:0 0;border:1px solid #0000;border-bottom:none;align-items:center;gap:.45rem;max-width:14rem;padding:.35rem .65rem;font-size:.76rem;transition:all .15s;display:flex}.latex-workspace-module__wddfla__editorTabItem:hover{background:color-mix(in srgb, var(--muted) 45%, transparent);color:var(--foreground)}.latex-workspace-module__wddfla__editorTabItemActive{background:var(--background);color:var(--foreground);border-color:var(--border);border-top:2px solid var(--primary);box-shadow:0 2px 0 var(--background);font-weight:600}.latex-workspace-module__wddfla__editorTabIcon{opacity:.85;flex-shrink:0}.latex-workspace-module__wddfla__editorTabTitle{text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono), monospace;overflow:hidden}.latex-workspace-module__wddfla__editorTabDirtyDot{background:var(--primary);border-radius:999px;flex-shrink:0;width:.45rem;height:.45rem}.latex-workspace-module__wddfla__editorTabCloseBtn{width:1.15rem;height:1.15rem;color:var(--muted-foreground);cursor:pointer;opacity:.65;background:0 0;border:none;border-radius:3px;justify-content:center;align-items:center;margin-left:.2rem;transition:all .15s;display:flex}.latex-workspace-module__wddfla__editorTabCloseBtn:hover{background:color-mix(in srgb, var(--destructive) 15%, transparent);color:var(--destructive);opacity:1}.latex-workspace-module__wddfla__mediaPreviewContainer{background:var(--background);flex-direction:column;flex:1;min-height:0;display:flex}.latex-workspace-module__wddfla__mediaPreviewToolbar{background:color-mix(in srgb, var(--card) 60%, var(--background));border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:.5rem;padding:.4rem .75rem;font-size:.75rem;display:flex}.latex-workspace-module__wddfla__mediaMetaGroup{align-items:center;gap:.6rem;min-width:0;display:flex;overflow:hidden}.latex-workspace-module__wddfla__mediaFileName{font-family:var(--font-mono), monospace;color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.latex-workspace-module__wddfla__mediaDimensions{font-family:var(--font-mono), monospace;color:var(--muted-foreground);background:color-mix(in srgb, var(--foreground) 6%, transparent);border-radius:4px;padding:.1rem .35rem;font-size:.7rem}.latex-workspace-module__wddfla__mediaFileSize{color:var(--muted-foreground);font-size:.7rem}.latex-workspace-module__wddfla__mediaZoomControls{flex-shrink:0;align-items:center;gap:.25rem;display:flex}.latex-workspace-module__wddfla__mediaToolbarBtn{border-radius:calc(var(--radius) * .4);border:1px solid var(--border);background:var(--background);height:1.75rem;color:var(--foreground);cursor:pointer;justify-content:center;align-items:center;padding:0 .45rem;font-size:.72rem;font-weight:500;transition:all .15s;display:inline-flex}.latex-workspace-module__wddfla__mediaToolbarBtn:hover:not(:disabled){background:var(--muted)}.latex-workspace-module__wddfla__mediaToolbarBtn:disabled{opacity:.4;cursor:not-allowed}.latex-workspace-module__wddfla__mediaToolbarBtnActive{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.latex-workspace-module__wddfla__mediaZoomPercent{font-family:var(--font-mono), monospace;text-align:center;min-width:2.4rem;color:var(--muted-foreground);font-size:.72rem}.latex-workspace-module__wddfla__mediaCanvasArea{flex:1;justify-content:center;align-items:center;min-height:0;padding:1.5rem;display:flex;overflow:auto}.latex-workspace-module__wddfla__checkeredBackground{border:1px solid var(--border);background-color:var(--card);background-image:linear-gradient(45deg, color-mix(in srgb, var(--border) 45%, transparent) 25%, transparent 25%), linear-gradient(-45deg, color-mix(in srgb, var(--border) 45%, transparent) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, color-mix(in srgb, var(--border) 45%, transparent) 75%), linear-gradient(-45deg, transparent 75%, color-mix(in srgb, var(--border) 45%, transparent) 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;border-radius:6px;justify-content:center;align-items:center;padding:1.5rem;display:flex;box-shadow:0 4px 12px #00000014}.latex-workspace-module__wddfla__mediaImage{border-radius:2px;max-width:none;display:block}.latex-workspace-module__wddfla__mediaImageContain{object-contain:contain;max-width:100%;max-height:calc(100vh - 16rem)}.latex-workspace-module__wddfla__mediaImageActual{object-fit:none}.dark .latex-workspace-module__wddfla__workspace{--code-keyword:#c6a9ff;--code-string:#78ddb4;--code-number:#ffbd78;--code-comment:#bec6d5;--code-type:#9dc7ff}@container (max-width:68rem){.latex-workspace-module__wddfla__workspaceToolbar{align-items:flex-start}.latex-workspace-module__wddfla__toolbarGroup{flex-wrap:wrap}}@container (max-width:46rem){.latex-workspace-module__wddfla__workspaceToolbar{flex-direction:column;align-items:stretch}.latex-workspace-module__wddfla__toolbarGroup{justify-content:space-between}.latex-workspace-module__wddfla__mobileTabs{border-bottom:1px solid var(--border);background:var(--card);grid-template-columns:repeat(3,1fr);display:grid}.latex-workspace-module__wddfla__mobileTabs button{min-height:2.75rem;color:var(--muted-foreground);border-bottom:2px solid #0000;font-size:.75rem;font-weight:750}.latex-workspace-module__wddfla__mobileTabs button[aria-selected=true]{border-color:var(--primary);color:var(--foreground)}.latex-workspace-module__wddfla__workspaceGrid{height:min(68dvh,44rem);min-height:30rem;display:block}.latex-workspace-module__wddfla__workspaceGrid .latex-workspace-module__wddfla__splitter{display:none}.latex-workspace-module__wddfla__workspaceGrid .latex-workspace-module__wddfla__panel{border:0;height:100%;display:none}.latex-workspace-module__wddfla__workspaceGrid[data-active-panel=files] .latex-workspace-module__wddfla__filesPanel,.latex-workspace-module__wddfla__workspaceGrid[data-active-panel=editor] .latex-workspace-module__wddfla__editorPanel,.latex-workspace-module__wddfla__workspaceGrid[data-active-panel=preview] .latex-workspace-module__wddfla__previewPanel{display:flex}.latex-workspace-module__wddfla__canvasScroller{padding:1rem}.latex-workspace-module__wddfla__primaryButton,.latex-workspace-module__wddfla__secondaryButton{flex:1}.latex-workspace-module__wddfla__engineLabel{flex:1 0 100%;justify-content:space-between}.latex-workspace-module__wddfla__desktopControl,.latex-workspace-module__wddfla__panelCollapseButton{display:none}}@media (prefers-reduced-motion:reduce){.latex-workspace-module__wddfla__spinner{animation-duration:1.6s}}@media (forced-colors:active){.latex-workspace-module__wddfla__workspace,.latex-workspace-module__wddfla__primaryButton,.latex-workspace-module__wddfla__secondaryButton,.latex-workspace-module__wddfla__fileActions button{border:1px solid canvastext}}.latex-workspace-module__wddfla__workspaceFullscreen{z-index:50!important;background:var(--background)!important;width:100vw!important;height:100vh!important;box-shadow:none!important;border:none!important;border-radius:0!important;flex-direction:column!important;max-height:100vh!important;margin:0!important;padding:0!important;display:flex!important;position:fixed!important;inset:0!important;overflow:hidden!important}.latex-workspace-module__wddfla__workspaceFullscreen .latex-workspace-module__wddfla__workspaceToolbar{border-radius:0;flex-shrink:0}.latex-workspace-module__wddfla__workspaceFullscreen .latex-workspace-module__wddfla__status,.latex-workspace-module__wddfla__workspaceFullscreen .latex-workspace-module__wddfla__mobileTabs{flex-shrink:0}.latex-workspace-module__wddfla__workspaceFullscreen .latex-workspace-module__wddfla__workspaceGrid{flex:1!important;height:100%!important;min-height:0!important;max-height:none!important}.latex-workspace-module__wddfla__workspaceFullscreen .latex-workspace-module__wddfla__localNotice{display:none!important}@container (max-width:34rem){.latex-workspace-module__wddfla__fullscreenButtonText{display:none}}
.pdf-viewer-module__u35k_W__viewerContainer{background-color:var(--muted,#f1f5f9);-webkit-user-select:none;user-select:none;flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.dark .pdf-viewer-module__u35k_W__viewerContainer{background-color:#09090b}.pdf-viewer-module__u35k_W__emptyViewer{justify-content:center;align-items:center}.pdf-viewer-module__u35k_W__emptyContent{color:var(--muted-foreground,#64748b);text-align:center;padding:2rem;font-size:.875rem}.pdf-viewer-module__u35k_W__toolbar{background-color:var(--card,#fff);border-bottom:1px solid var(--border,#e2e8f0);z-index:20;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .75rem;display:flex}.dark .pdf-viewer-module__u35k_W__toolbar{background-color:#18181b;border-bottom-color:#27272a}.pdf-viewer-module__u35k_W__toolbarGroup{align-items:center;gap:.25rem;display:flex}.pdf-viewer-module__u35k_W__toolbarButton{min-width:2rem;height:2rem;color:var(--foreground,#0f172a);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:.375rem;justify-content:center;align-items:center;padding:0 .5rem;font-size:.8125rem;font-weight:500;transition:background-color .15s,color .15s;display:inline-flex}.pdf-viewer-module__u35k_W__toolbarButton:hover:not(:disabled){background-color:var(--accent,#f1f5f9)}.dark .pdf-viewer-module__u35k_W__toolbarButton:hover:not(:disabled){background-color:#27272a}.pdf-viewer-module__u35k_W__toolbarButton:disabled{opacity:.4;cursor:not-allowed}.pdf-viewer-module__u35k_W__toolbarButtonActive{background-color:var(--accent,#e2e8f0);color:var(--primary,#2563eb)}.dark .pdf-viewer-module__u35k_W__toolbarButtonActive{color:#60a5fa;background-color:#27272a}.pdf-viewer-module__u35k_W__pageIndicator{color:var(--muted-foreground,#64748b);align-items:center;gap:.25rem;padding:0 .25rem;font-size:.8125rem;display:inline-flex}.pdf-viewer-module__u35k_W__pageInput{text-align:center;font-variant-numeric:tabular-nums;border:1px solid var(--border,#cbd5e1);background-color:var(--background,#fff);width:2.5rem;height:1.75rem;color:var(--foreground,#0f172a);border-radius:.25rem;font-size:.8125rem}.dark .pdf-viewer-module__u35k_W__pageInput{color:#f4f4f5;background-color:#09090b;border-color:#3f3f46}.pdf-viewer-module__u35k_W__zoomInput{text-align:center;font-variant-numeric:tabular-nums;border:1px solid var(--border,#cbd5e1);background-color:var(--background,#fff);width:3.25rem;height:1.75rem;color:var(--foreground,#0f172a);border-radius:.25rem;font-size:.8125rem}.dark .pdf-viewer-module__u35k_W__zoomInput{color:#f4f4f5;background-color:#09090b;border-color:#3f3f46}.pdf-viewer-module__u35k_W__scroller{touch-action:pan-x pan-y;outline:none;flex:1;width:100%;height:100%;position:relative;overflow:auto}.pdf-viewer-module__u35k_W__scrollerPanMode{cursor:grab}.pdf-viewer-module__u35k_W__scrollerPanning{cursor:grabbing!important}:is(.pdf-viewer-module__u35k_W__scrollerPanMode .pdf-viewer-module__u35k_W__textLayer span,.pdf-viewer-module__u35k_W__scrollerPanMode .pdf-viewer-module__u35k_W__textLayer br){cursor:grab!important}:is(.pdf-viewer-module__u35k_W__scrollerPanning .pdf-viewer-module__u35k_W__textLayer span,.pdf-viewer-module__u35k_W__scrollerPanning .pdf-viewer-module__u35k_W__textLayer br){cursor:grabbing!important}.pdf-viewer-module__u35k_W__viewportContent{box-sizing:border-box;flex-direction:column;justify-content:flex-start;align-items:center;width:max-content;min-width:100%;min-height:100%;margin:0 auto;padding:2rem 1.5rem;display:flex}.pdf-viewer-module__u35k_W__pageContainer{transform-origin:50%;background-color:#fff;border-radius:2px;display:block;position:relative;overflow:clip;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a,0 0 0 1px #0000000d}.pdf-viewer-module__u35k_W__pdfCanvas{pointer-events:none;width:100%;height:100%;display:block}.pdf-viewer-module__u35k_W__textLayer{opacity:1;letter-spacing:normal;word-spacing:normal;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2;pointer-events:auto;--min-font-size:1;--text-scale-factor:calc(var(--total-scale-factor,1) * var(--min-font-size,1));--min-font-size-inv:calc(1 / var(--min-font-size,1));line-height:1;position:absolute;inset:0;overflow:clip}:is(.pdf-viewer-module__u35k_W__textLayer span,.pdf-viewer-module__u35k_W__textLayer br){white-space:pre;cursor:text;transform-origin:0 0;-webkit-user-select:text;user-select:text;position:absolute;color:#0000!important}:is(.pdf-viewer-module__u35k_W__textLayer>:not(.markedContent),.pdf-viewer-module__u35k_W__textLayer .markedContent span:not(.markedContent)){z-index:1;--font-height:0;font-size:calc(var(--text-scale-factor) * var(--font-height));--scale-x:1;--rotate:0deg;transform:rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv))}.pdf-viewer-module__u35k_W__textLayer ::selection{color:#0000!important;background:#2563eb4d!important}.pdf-viewer-module__u35k_W__loadingOverlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:10;background-color:#fff9;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.dark .pdf-viewer-module__u35k_W__loadingOverlay{background-color:#0009}.pdf-viewer-module__u35k_W__errorOverlay{text-align:center;z-index:10;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:2rem;display:flex;position:absolute;inset:0}
