html,body,#workbench{width:100%;height:100%;margin:0;overflow:hidden;background:#181818}body{font-family:system-ui,sans-serif}#workbench{position:relative;display:flex;flex-direction:column}.workbench-body{display:flex;flex:1 1 auto;min-width:0;min-height:0}.workbench-activity{flex:0 0 48px;min-width:0;min-height:0}.workbench-primary,.workbench-main,.workbench-sidebar,.workbench-editor,.workbench-panel{width:100%;height:100%;min-width:0;min-height:0}.workbench-primary{flex:1 1 auto}.mms-project-view,.mms-history-root{box-sizing:border-box;color:var(--vscode-foreground);background:var(--vscode-sideBar-background);font-family:var(--vscode-font-family);font-size:var(--vscode-font-size)}.mms-project-view{display:block!important;overflow:auto}.mms-settings-section{display:grid;gap:8px;padding:10px 12px 12px;border-bottom:1px solid var(--vscode-sideBarSectionHeader-border, #2b2b2b)}.mms-project-view h3,.mms-history-root h3{margin:0;color:var(--vscode-sideBarSectionHeader-foreground, var(--vscode-foreground));font-size:11px;font-weight:700;text-transform:uppercase}.mms-project-view p{margin:0;color:var(--vscode-descriptionForeground);line-height:1.45}.mms-project-view textarea{box-sizing:border-box;width:100%;resize:vertical;padding:4px 6px;border:1px solid var(--vscode-input-border, transparent);color:var(--vscode-input-foreground);background:var(--vscode-input-background);font:inherit;line-height:1.4}.mms-project-view textarea:focus,.mms-history-controls select:focus{border-color:var(--vscode-focusBorder);outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.mms-project-view button{justify-self:start;padding:3px 9px;border:1px solid var(--vscode-button-border, transparent);color:var(--vscode-button-foreground);background:var(--vscode-button-background);font:inherit;cursor:pointer}.mms-project-view button:hover{background:var(--vscode-button-hoverBackground)}.mms-project-view .mms-secondary-button{color:var(--vscode-button-secondaryForeground, var(--vscode-foreground));background:var(--vscode-button-secondaryBackground, #3a3d41)}.mms-project-view .mms-secondary-button:hover{background:var(--vscode-button-secondaryHoverBackground, #45494e)}.mms-settings-actions{display:flex;flex-wrap:wrap;gap:6px}.mms-setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.mms-settings-status{min-height:15px;color:var(--vscode-descriptionForeground);font-size:11px}.mms-history-root{display:flex!important;min-height:0;height:100%;flex-direction:column;overflow:hidden}.mms-history-workspace{display:flex;align-items:center;gap:6px;padding:8px 12px;border-bottom:1px solid var(--vscode-sideBarSectionHeader-border, #2b2b2b)}.mms-history-workspace-copy{display:grid;min-width:0;flex:1 1 auto;gap:1px}.mms-workspace-identity,.mms-history-primary,.mms-history-secondary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mms-workspace-identity{font-weight:600}.mms-muted{color:var(--vscode-descriptionForeground, #aaa);font-size:11px}.mms-history-root button{color:var(--vscode-foreground);font:inherit;cursor:pointer}.mms-history-root .mms-history-takeover{padding:3px 7px;border:1px solid var(--vscode-button-border, transparent);color:var(--vscode-button-foreground);background:var(--vscode-button-background)}.mms-history-view{display:flex;min-height:0;flex:1 1 auto;flex-direction:column}.mms-history-heading,.mms-history-toolbar,.mms-history-controls,.mms-history-change{display:flex;align-items:center}.mms-history-heading{min-height:26px;justify-content:space-between;padding:2px 6px 2px 12px;background:var(--vscode-sideBarSectionHeader-background, transparent)}.mms-history-toolbar{gap:1px}.mms-history-toolbar button,.mms-history-row-action,.mms-history-change-action{min-width:24px;padding:2px 5px;border:0;color:var(--vscode-icon-foreground, var(--vscode-foreground));background:transparent}.mms-history-toolbar button:hover,.mms-history-row-action:hover,.mms-history-change-action:hover{background:var(--vscode-toolbar-hoverBackground, var(--vscode-list-hoverBackground))}.mms-history-toolbar button:disabled{opacity:.45}.mms-history-controls{gap:4px;padding:6px 8px}.mms-history-controls select{min-width:0;flex:1 1 50%;height:24px;padding:1px 5px;border:1px solid var(--vscode-dropdown-border, transparent);color:var(--vscode-dropdown-foreground, var(--vscode-foreground));background:var(--vscode-dropdown-background, #3c3c3c);font:inherit}.mms-history-alert{margin:0 8px 6px;padding:6px 8px;border:1px solid var(--vscode-inputValidation-warningBorder, #cca700);color:var(--vscode-inputValidation-warningForeground, var(--vscode-foreground));background:var(--vscode-inputValidation-warningBackground, #332b00);font-size:11px}.mms-history-list{display:block;min-height:0;flex:1 1 auto;overflow:auto}.mms-history-date{padding:7px 12px 3px;color:var(--vscode-descriptionForeground, #aaa);font-size:11px;font-weight:600}.mms-history-revision>summary{display:grid;grid-template-columns:18px minmax(0,1fr) 26px;align-items:center;min-height:32px;padding:1px 5px 1px 9px;cursor:pointer;list-style:none}.mms-history-revision>summary::-webkit-details-marker{display:none}.mms-history-revision>summary:hover,.mms-history-change:hover{background:var(--vscode-list-hoverBackground, #2a2d2e)}.mms-history-revision[open]>summary{background:var(--vscode-list-inactiveSelectionBackground, #37373d)}.mms-history-revision>summary:focus-visible{outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.mms-history-icon{color:var(--vscode-descriptionForeground, #bbb);text-align:center}.mms-history-copy{display:grid;min-width:0}.mms-history-primary{font-size:12px}.mms-history-secondary{color:var(--vscode-descriptionForeground, #aaa);font-size:10px}.mms-history-row-action,.mms-history-change-action{opacity:0}.mms-history-revision>summary:hover .mms-history-row-action,.mms-history-revision>summary:focus-within .mms-history-row-action,.mms-history-change:hover .mms-history-change-action,.mms-history-change:focus-within .mms-history-change-action{opacity:1}.mms-history-changes{display:grid;padding:2px 5px 5px 27px}.mms-history-change{min-height:24px}.mms-history-change-kind{flex:0 0 30px;color:var(--vscode-descriptionForeground, #aaa);font-size:10px}.mms-history-change-meta{max-width:104px;overflow:hidden;flex:0 1 auto;color:var(--vscode-descriptionForeground, #aaa);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.mms-history-change-path{min-width:0;flex:1 1 auto;overflow:hidden;padding:3px 2px;border:0;color:var(--vscode-foreground);background:transparent;text-align:left;text-overflow:ellipsis;white-space:nowrap}.mms-history-message{padding:8px 12px;color:var(--vscode-descriptionForeground, #aaa);font-size:11px}.mms-history-checkpoint-actions{display:flex;justify-content:flex-end;gap:4px;padding:2px 4px}.mms-history-checkpoint-actions button,.mms-history-load-more{padding:3px 7px;border:0;color:var(--vscode-button-secondaryForeground, var(--vscode-foreground));background:var(--vscode-button-secondaryBackground, var(--vscode-list-inactiveSelectionBackground));font:inherit}.mms-history-checkpoint-actions button:hover,.mms-history-load-more:hover{background:var(--vscode-button-secondaryHoverBackground, var(--vscode-list-hoverBackground))}.mms-history-load-more{margin:4px 8px}.mms-history-load-more:disabled{opacity:.55}.mms-history-footer{width:100%;padding:5px 12px;border:0;border-top:1px solid var(--vscode-sideBarSectionHeader-border, #2b2b2b);color:var(--vscode-descriptionForeground, #aaa)!important;background:var(--vscode-sideBar-background);font-size:10px!important;text-align:left}.workbench-preview.typst-preview{display:none}.workbench-status{flex:0 0 22px;min-width:0;min-height:0;overflow:hidden}.workbench-status>.part.statusbar{width:100%;height:100%}.typst-preview{box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;border-left:1px solid #333;background:#242424}.typst-preview-toolbar{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:6px;min-height:34px;padding:0 8px;border-bottom:1px solid #333;background:#202020}.typst-preview-toolbar button{min-width:28px;padding:3px 7px;border:1px solid #444;border-radius:3px;color:#ddd;background:#2d2d2d;cursor:pointer}.typst-preview-toolbar button:hover{background:#3a3a3a}.typst-preview-zoom{width:42px;color:#bbb;font:12px monospace;text-align:center}.typst-preview-interaction-status{flex:1 1 auto;min-width:0;overflow:hidden;color:#aaa;font:12px/1.3 system-ui,sans-serif;text-overflow:ellipsis;white-space:nowrap}.typst-preview-interaction-status[data-status=stale],.typst-preview-interaction-status[data-status=unavailable]{color:#cca700}.typst-preview-interaction-status[data-status=unmapped]{color:#bbb}.typst-preview-outline{display:flex;flex:0 0 auto;max-height:132px;overflow:auto;flex-direction:column;border-bottom:1px solid #333;background:#202020}.typst-preview-outline[hidden]{display:none}.typst-preview-outline button{min-height:24px;border:0;color:#ccc;background:transparent;font:12px/1.4 system-ui,sans-serif;text-align:left}.typst-preview-outline button:hover{background:#2a2d2e}.typst-preview-viewport{flex:1 1 auto;min-height:0;overflow:auto;padding:16px}.typst-preview-canvas{position:relative;margin:0 auto 16px;display:flex;flex-direction:column;align-items:center;gap:16px}.typst-preview-page{position:relative;flex:0 0 auto;overflow:visible;background:transparent}.typst-preview-page>svg{display:block;width:100%;height:100%}.typst-preview-page>svg>.typst-page{filter:drop-shadow(0 2px 6px #0008)}.typst-preview-page .typst-text{pointer-events:bounding-box;cursor:text}.typst-preview-page .typst-text foreignObject{pointer-events:all}.typst-preview-page .tsel{left:0;position:fixed;width:100%;height:100%;overflow:hidden;color:transparent;font-family:monospace;line-height:normal;text-align:left;text-align-last:left;white-space:pre;pointer-events:auto;user-select:text;cursor:text;transform:translateY(.32em);transform-origin:left top;-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}.typst-preview-page .tsel .tsel-token{display:inline-block;line-height:normal;position:relative;width:.602em;height:1em}.typst-preview-page .tsel::selection,.typst-preview-page .tsel .tsel-token::selection{color:transparent;background:#7db9dea0}.typst-preview-indicator,.typst-preview-cursor{position:absolute;z-index:4;pointer-events:none;transform:translate(-50%,-50%)}.typst-preview-indicator{width:18px;height:18px;border:2px solid #007acc;border-radius:50%;background:#007acc28;box-shadow:0 0 0 4px #007acc24;animation:typst-preview-pulse .9s ease-out}.typst-preview-cursor{width:2px;height:20px;background:#d16969;box-shadow:0 0 0 1px #fff8}@keyframes typst-preview-pulse{0%{opacity:1;transform:translate(-50%,-50%) scale(.65)}to{opacity:.65;transform:translate(-50%,-50%) scale(1)}}.typst-preview-status{padding:16px;color:#bbb;font:13px/1.5 system-ui,sans-serif;white-space:pre-wrap}.typst-preview-status.error{color:#f48771}.fatal-error{box-sizing:border-box;width:100%;padding:24px;color:#f8f8f8;background:#181818;white-space:pre-wrap}.mms-gallery-root{display:flex!important;min-height:0;height:100%;flex-direction:column;color:var(--vscode-foreground);background:var(--vscode-sideBar-background);font-size:12px;--mms-gallery-zoom: 1}.mms-gallery-root button{color:var(--vscode-foreground);font:inherit;cursor:pointer}.mms-gallery-body{display:block;min-height:0;flex:1 1 auto;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--vscode-scrollbarSlider-background, rgba(121, 121, 121, .4)) transparent}.mms-gallery-body::-webkit-scrollbar{width:10px;height:10px}.mms-gallery-body::-webkit-scrollbar-track,.mms-gallery-body::-webkit-scrollbar-corner{background:transparent}.mms-gallery-body::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:7px;background-clip:padding-box;background-color:var(--vscode-scrollbarSlider-background, rgba(121, 121, 121, .4))}.mms-gallery-body::-webkit-scrollbar-thumb:hover{border-width:2px;background-color:var(--vscode-scrollbarSlider-hoverBackground, rgba(100, 100, 100, .7))}.mms-gallery-body::-webkit-scrollbar-thumb:active{border-width:2px;background-color:var(--vscode-scrollbarSlider-activeBackground, rgba(191, 191, 191, .4))}.mms-history-list{scrollbar-width:thin;scrollbar-color:var(--vscode-scrollbarSlider-background, rgba(121, 121, 121, .4)) transparent}.mms-history-list::-webkit-scrollbar{width:10px;height:10px}.mms-history-list::-webkit-scrollbar-track,.mms-history-list::-webkit-scrollbar-corner{background:transparent}.mms-history-list::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:7px;background-clip:padding-box;background-color:var(--vscode-scrollbarSlider-background, rgba(121, 121, 121, .4))}.mms-history-list::-webkit-scrollbar-thumb:hover{border-width:2px;background-color:var(--vscode-scrollbarSlider-hoverBackground, rgba(100, 100, 100, .7))}.mms-history-list::-webkit-scrollbar-thumb:active{border-width:2px;background-color:var(--vscode-scrollbarSlider-activeBackground, rgba(191, 191, 191, .4))}.mms-gallery-search{margin:6px 8px;height:26px;padding:2px 8px;border:1px solid var(--vscode-input-border, transparent);color:var(--vscode-input-foreground, var(--vscode-foreground));background:var(--vscode-input-background, #3c3c3c);font:inherit}.mms-gallery-search:focus{border-color:var(--vscode-focusBorder);outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.mms-gallery-message{padding:12px;color:var(--vscode-descriptionForeground, #aaa);font-size:11px;line-height:1.5}.mms-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(calc(76px * var(--mms-gallery-zoom)),1fr));gap:4px;padding:4px 8px 12px}.mms-gallery-tile{display:flex;min-width:0;flex-direction:column;align-items:center;gap:3px;padding:6px 4px;border:1px solid transparent;border-radius:4px;background:transparent}.mms-gallery-tile:hover{background:var(--vscode-list-hoverBackground, #2a2d2e)}.mms-gallery-tile:focus-visible{border-color:var(--vscode-focusBorder);outline:none}.mms-gallery-avatar,.mms-gallery-thumb,.mms-gallery-frame{width:calc(56px * var(--mms-gallery-zoom));height:calc(56px * var(--mms-gallery-zoom));border-radius:4px;object-fit:contain;background:var(--vscode-editor-background)}.mms-gallery-frame{display:flex;align-items:center;justify-content:center;padding:2px;color:var(--vscode-descriptionForeground, #aaa);font-size:10px;text-align:center}.mms-gallery-avatar-fallback{display:flex;width:calc(56px * var(--mms-gallery-zoom));height:calc(56px * var(--mms-gallery-zoom));align-items:center;justify-content:center;border-radius:4px;color:var(--vscode-descriptionForeground, #aaa);background:var(--vscode-editor-background);font-size:calc(20px * var(--mms-gallery-zoom))}.mms-gallery-failed .mms-gallery-frame{color:var(--vscode-errorForeground, #f48771)}.mms-gallery-name,.mms-gallery-ordinal{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap;font-size:calc(11px * var(--mms-gallery-zoom))}.mms-gallery-ordinal{color:var(--vscode-descriptionForeground, #aaa)}.mms-gallery-sentinel{height:1px}.mms-gallery-detail-header{display:flex;position:sticky;top:0;align-items:center;gap:6px;padding:4px 8px;background:var(--vscode-sideBar-background)}.mms-gallery-back{padding:2px 6px;border:0;color:var(--vscode-textLink-foreground, #3794ff);background:transparent}.mms-gallery-back:hover{background:var(--vscode-toolbar-hoverBackground, var(--vscode-list-hoverBackground))}.mms-gallery-detail-title{overflow:hidden;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.mms-gallery-set{min-width:0;max-width:140px;height:24px;padding:1px 5px;border:1px solid var(--vscode-dropdown-border, transparent);color:var(--vscode-dropdown-foreground, var(--vscode-foreground));background:var(--vscode-dropdown-background, #3c3c3c);font:inherit}
