.status-hint.svelte-102lljp{position:absolute;top:12px;right:12px;z-index:3;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:1px solid var(--color-gray-300);background:color-mix(in srgb,var(--color-white) 82%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:var(--shadow-md);color:var(--color-gray-700);font-size:11px;font-weight:600;line-height:1;pointer-events:none;animation:svelte-102lljp-status-hint-fade-in .22s cubic-bezier(.22,1,.36,1)}.status-hint-spinner.svelte-102lljp{width:12px;height:12px;border:2px solid var(--color-gray-300);border-top-color:var(--color-gray-700);border-radius:50%;animation:svelte-102lljp-status-hint-spin .8s linear infinite}@keyframes svelte-102lljp-status-hint-spin{to{transform:rotate(360deg)}}@keyframes svelte-102lljp-status-hint-fade-in{0%{opacity:0;transform:translateY(-4px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.html-preview.svelte-bsvpt3{display:block;min-height:100%;background:var(--md-bg, #fff)}.shortcuts.svelte-1v7v07a{max-width:40rem;width:min(40rem,calc(100vw - 2rem))}.grid.svelte-1v7v07a{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:var(--space-lg) var(--space-xl);margin:var(--space-md) 0 var(--space-lg);min-height:0;overflow-y:auto}h4.svelte-1v7v07a{font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--color-gray-500);margin-bottom:var(--space-sm)}.hint.svelte-1v7v07a{font-size:.75rem;color:var(--color-gray-500);margin:calc(-1 * var(--space-xs)) 0 var(--space-sm)}dl.svelte-1v7v07a{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:.35rem var(--space-md);margin:0}dd.svelte-1v7v07a{margin:0;font-size:.8125rem;color:var(--color-gray-700)}@media(min-width:34rem){.slash.svelte-1v7v07a{grid-column:1 / -1}.slash.svelte-1v7v07a dl:where(.svelte-1v7v07a){grid-template-columns:repeat(2,auto 1fr);column-gap:var(--space-xl)}}kbd.svelte-1v7v07a{display:inline-block;padding:.15em .45em;font-family:var(--font-mono);font-size:.75rem;line-height:1.5;white-space:nowrap;color:var(--color-gray-800);background:var(--color-gray-50);border:1px solid var(--color-gray-200);border-bottom-width:2px;border-radius:var(--radius-sm)}.editor-host.svelte-1wy3hso{flex:1;height:100%;overflow:hidden;background-color:var(--editor-bg);contain:strict}.editor-host.svelte-1wy3hso .cm-editor{height:100%;outline:none}.error-bar.svelte-1k5e2g5{padding:var(--space-sm, 8px) var(--space-md, 16px);font-size:.75rem;color:var(--color-danger);background:var(--color-danger-bg);border-top:1px solid var(--color-danger)}.doc-menu.svelte-1t62pja{position:relative;display:flex;align-items:center;max-width:280px}.doc-name-btn.svelte-1t62pja{display:flex;align-items:center;gap:4px;height:var(--control-lg);padding:0 8px;background:transparent;border:1px solid transparent;border-radius:var(--radius-sm);cursor:pointer;font-size:.8125rem;color:var(--color-gray-700);transition:all var(--transition-fast);max-width:280px}.doc-name-btn.svelte-1t62pja:hover{background:var(--color-gray-50);border-color:var(--color-gray-200)}.doc-name-text.svelte-1t62pja{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px;font-weight:500}.doc-status.svelte-1t62pja{font-size:.8125rem;color:var(--color-gray-400);white-space:nowrap}.chevron.svelte-1t62pja{flex-shrink:0;color:var(--color-gray-400);transition:transform var(--transition-fast)}.chevron.open.svelte-1t62pja{transform:rotate(180deg)}.doc-popover.svelte-1t62pja{position:absolute;top:calc(100% + 4px);left:0;width:300px;max-height:400px;overflow-y:auto;background:var(--color-white);border:1px solid var(--color-gray-200);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);z-index:1000;padding:var(--space-xs) 0}.doc-section-label.svelte-1t62pja{padding:var(--space-xs) var(--space-sm);font-size:.6875rem;font-weight:600;color:var(--color-gray-400);text-transform:uppercase;letter-spacing:.05em}.doc-list.svelte-1t62pja{max-height:200px;overflow-y:auto}.doc-item.svelte-1t62pja{display:flex;align-items:center;gap:6px;width:100%;padding:6px var(--space-sm);font-size:.8125rem;color:var(--color-gray-700);background:transparent;border:none;text-align:left;cursor:pointer;transition:background-color var(--transition-fast)}.doc-item.svelte-1t62pja:hover{background:var(--color-gray-50)}.doc-item.active.svelte-1t62pja{background:var(--color-gray-100);font-weight:500}.doc-item-name.svelte-1t62pja{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.doc-item-time.svelte-1t62pja{font-size:.6875rem;color:var(--color-gray-400);white-space:nowrap;flex-shrink:0}.doc-item-delete.svelte-1t62pja{display:none;padding:0 4px;font-size:.875rem;color:var(--color-gray-400);background:transparent;border:none;cursor:pointer;line-height:1;border-radius:2px;flex-shrink:0}.doc-item.svelte-1t62pja:hover .doc-item-delete:where(.svelte-1t62pja){display:block}.doc-item-delete.svelte-1t62pja:hover{color:var(--color-gray-700);background:var(--color-gray-200)}.doc-divider.svelte-1t62pja{height:1px;background:var(--color-gray-100);margin:var(--space-xs) 0}.doc-new.svelte-1t62pja{color:var(--color-gray-500)}@media(max-width:768px){.doc-menu.svelte-1t62pja{flex:1 1 auto;min-width:0;max-width:none}.doc-name-btn.svelte-1t62pja{width:100%;min-width:0;max-width:100%;padding:0 6px}.doc-name-text.svelte-1t62pja{flex:1 1 auto;min-width:0;max-width:none}.doc-status.svelte-1t62pja{display:none}.doc-popover.svelte-1t62pja{width:min(280px,calc(100vw - 16px));max-height:min(60dvh,400px)}}.app.svelte-1dxazq3{display:flex;flex-direction:column;height:100vh;overflow:hidden}.drop-overlay.svelte-1dxazq3{position:fixed;inset:0;z-index:999;background:light-dark(rgba(255,255,255,.85),rgba(20,20,20,.85));display:flex;align-items:center;justify-content:center;pointer-events:none}.drop-overlay-content.svelte-1dxazq3{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--color-gray-500);font-size:1rem;font-weight:500;padding:40px 60px;border:2px dashed var(--color-gray-300);border-radius:16px;background:var(--color-gray-50)}.navbar.svelte-1dxazq3{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:var(--navbar-height);padding:0 var(--space-md);background:var(--color-white);border-bottom:1px solid var(--color-gray-200);flex-shrink:0}.navbar-left.svelte-1dxazq3,.navbar-right.svelte-1dxazq3{display:flex;align-items:center;gap:var(--space-sm)}.navbar-left.svelte-1dxazq3{flex:1;min-width:0}.navbar-right.svelte-1dxazq3{justify-content:flex-end;gap:var(--space-sm)}.toolbar.svelte-1dxazq3{display:flex;align-items:center;gap:var(--space-xs);flex-shrink:0}.editor-pane.svelte-1dxazq3>.toolbar:where(.svelte-1dxazq3){height:var(--pane-toolbar-height);padding:0 var(--space-sm);background:var(--color-gray-50);border-bottom:1px solid var(--color-gray-200)}.logo-link.svelte-1dxazq3{display:flex;align-items:center;height:100%;text-decoration:none}.logo-img.svelte-1dxazq3{height:28px;width:auto;display:block}[data-theme=dark] .logo-img.svelte-1dxazq3{filter:invert(1) hue-rotate(180deg)}.doc-title.svelte-1dxazq3{padding:4px 8px;font-size:.8125rem;font-weight:500;color:var(--color-gray-700);white-space:nowrap}.layout-switch.svelte-1dxazq3{justify-self:center}.navbar.svelte-1dxazq3 :is(.btn:where(.svelte-1dxazq3),.tool-btn:where(.svelte-1dxazq3),.view-switch:where(.svelte-1dxazq3) button:where(.svelte-1dxazq3)),.toolbar.svelte-1dxazq3 :is(.tool-btn:where(.svelte-1dxazq3),.view-switch:where(.svelte-1dxazq3) button:where(.svelte-1dxazq3)),.preview-toolbar.svelte-1dxazq3 :is(.tool-btn:where(.svelte-1dxazq3),.view-switch:where(.svelte-1dxazq3) button:where(.svelte-1dxazq3),.zoom:where(.svelte-1dxazq3) button:where(.svelte-1dxazq3),.page-info:where(.svelte-1dxazq3),.zoom-level:where(.svelte-1dxazq3)){font-family:inherit;font-size:.8125rem;font-weight:500;line-height:1}.tool-btn.svelte-1dxazq3{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:var(--control);padding:0 8px;border:1px solid var(--color-gray-200);border-radius:var(--radius-sm);background:var(--color-white);color:var(--color-gray-600);cursor:pointer;transition:all var(--transition-fast)}.tool-btn.svelte-1dxazq3:hover{background:var(--color-gray-100);border-color:var(--color-gray-300);color:var(--color-gray-900)}.tool-btn-icon.svelte-1dxazq3{width:var(--control);padding:0}.export-btn.svelte-1dxazq3{gap:4px;height:var(--control-lg);padding:0 .75rem;background:var(--color-gray-100);color:var(--color-gray-900);border:1px solid var(--color-gray-300);box-shadow:var(--shadow-sm)}.export-btn.svelte-1dxazq3:hover{background:var(--color-gray-200);border-color:var(--color-gray-400)}.navbar.svelte-1dxazq3 :is(.tool-btn:where(.svelte-1dxazq3),.view-switch:where(.svelte-1dxazq3)){height:var(--control-lg)}.navbar.svelte-1dxazq3 .tool-btn-icon:where(.svelte-1dxazq3){width:var(--control-lg)}.gh-icon.svelte-1dxazq3{fill:currentColor}.update-btn.svelte-1dxazq3{color:var(--color-success);border-color:var(--color-success)}@media(max-width:1100px){.tool-label.svelte-1dxazq3{display:none}.tool-btn.svelte-1dxazq3{width:var(--control);padding:0}}.workspace.svelte-1dxazq3{flex:1;display:flex;overflow:hidden;background-color:var(--color-gray-100)}.pane.svelte-1dxazq3{flex-shrink:0;height:100%;overflow:hidden;display:flex;flex-direction:column;position:relative;background:var(--color-white)}.pane.hidden.svelte-1dxazq3,.resizer.hidden.svelte-1dxazq3{display:none}.editor-pane.svelte-1dxazq3{background:var(--editor-bg);position:relative}.resizer.svelte-1dxazq3{width:var(--divider-width);background:var(--color-gray-200);cursor:col-resize;flex-shrink:0;position:relative;transition:background var(--transition-fast)}.resizer.svelte-1dxazq3:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:4px;height:40px;background:repeating-linear-gradient(to bottom,var(--color-gray-400) 0px,var(--color-gray-400) 2px,transparent 2px,transparent 6px);border-radius:2px;opacity:.5}.resizer.svelte-1dxazq3:hover,.resizer.svelte-1dxazq3:focus-visible,.resizer.active.svelte-1dxazq3{background:var(--color-gray-400)}.resizer.svelte-1dxazq3:hover:after,.resizer.svelte-1dxazq3:focus-visible:after,.resizer.active.svelte-1dxazq3:after{opacity:1}.preview-pane.svelte-1dxazq3{flex:1 1 auto;min-width:0;background:var(--preview-bg)}.preview-toolbar.svelte-1dxazq3{display:flex;align-items:center;justify-content:space-between;height:var(--pane-toolbar-height);padding:0 var(--space-md) 0 var(--space-sm);background:var(--color-gray-50);border-bottom:1px solid var(--color-gray-200);flex-shrink:0}.preview-toolbar-right.svelte-1dxazq3{display:flex;align-items:center;gap:var(--space-sm)}.view-switch.svelte-1dxazq3{display:flex;align-items:center;height:var(--control);background:var(--color-gray-100);border:1px solid var(--color-gray-200);border-radius:var(--radius-sm);padding:2px;gap:2px}.view-switch.svelte-1dxazq3 button:where(.svelte-1dxazq3){display:flex;align-items:center;justify-content:center;height:100%;min-width:30px;padding:0 10px;color:var(--color-gray-500);background:transparent;border:0;border-radius:calc(var(--radius-sm) - 1px);cursor:pointer}.view-switch.svelte-1dxazq3 button.active:where(.svelte-1dxazq3){background:var(--color-white);color:var(--color-gray-900);box-shadow:0 1px 2px #10182814}.view-switch.svelte-1dxazq3 button:where(.svelte-1dxazq3) svg:where(.svelte-1dxazq3){display:block}.zoom.svelte-1dxazq3{display:flex;align-items:center;gap:var(--space-sm)}.zoom.svelte-1dxazq3 button:where(.svelte-1dxazq3){height:var(--control);min-width:var(--control);padding:0 var(--space-sm);color:var(--color-gray-600);background:var(--color-white);border:1px solid var(--color-gray-200);border-radius:var(--radius-sm);cursor:pointer}.zoom.svelte-1dxazq3 button:where(.svelte-1dxazq3):hover:not(:disabled){background:var(--color-gray-100);border-color:var(--color-gray-300);color:var(--color-gray-900)}.zoom.svelte-1dxazq3 button:where(.svelte-1dxazq3):disabled{opacity:.5;cursor:not-allowed}.page-info.svelte-1dxazq3,.zoom-level.svelte-1dxazq3{color:var(--color-gray-500);font-variant-numeric:tabular-nums}.tool-btn.svelte-1dxazq3:disabled{opacity:.5;cursor:not-allowed}.preview-container.svelte-1dxazq3{flex:1;overflow:hidden;position:relative;contain:strict}.preview-status-wrapper.svelte-1dxazq3{display:flex;align-items:center;gap:var(--space-md)}.warning-badge.svelte-1dxazq3{height:var(--control);padding:0 8px;font-size:.75rem;font-weight:500;color:var(--color-gray-800);background:light-dark(#fef3c7,#4a3a10);border:1px solid light-dark(#fcd34d,#7c6218);border-radius:var(--radius-sm);cursor:pointer}.warning-list.svelte-1dxazq3{position:absolute;z-index:5;top:var(--pane-toolbar-height);left:var(--space-sm);right:var(--space-sm);max-height:40%;overflow:auto;margin:0;padding:var(--space-sm) var(--space-md) var(--space-sm) var(--space-xl);font-size:.75rem;line-height:1.7;color:var(--color-gray-800);background:var(--color-white);border:1px solid light-dark(#fcd34d,#7c6218);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);overflow-wrap:anywhere}.error-badge.svelte-1dxazq3{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:500;padding:2px 8px;border-radius:12px;animation:svelte-1dxazq3-fadeIn .2s ease-out;background:var(--color-danger-bg);color:var(--color-danger)}@keyframes svelte-1dxazq3-fadeIn{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}.preview-placeholder.svelte-1dxazq3{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--preview-bg)}.svg-preview-container.svelte-1dxazq3{position:absolute;inset:0;overflow:auto;padding:var(--space-lg);background:var(--preview-bg)}.svg-preview-container.hidden.svelte-1dxazq3{visibility:hidden;pointer-events:none}.html-preview-container.svelte-1dxazq3{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain}.svg-preview-container.svelte-1dxazq3 .page-slot{margin:0 auto var(--space-md);box-shadow:var(--paper-shadow);background:#fff;width:calc(100% * var(--svg-scale, 1));contain:strict}.svg-preview-container.svelte-1dxazq3 .page-slot>svg{display:block;width:100%;height:100%}.svg-preview-container.svelte-1dxazq3 svg.typst-defs{position:absolute;width:0;height:0;overflow:hidden}.menu-container.svelte-1dxazq3{position:relative;display:inline-block}.dropdown-menu.svelte-1dxazq3{position:absolute;top:calc(100% + 4px);right:0;width:150px;background:var(--color-white);border:1px solid var(--color-gray-200);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);z-index:1000;padding:var(--space-xs) 0;display:flex;flex-direction:column}.menu-item.svelte-1dxazq3{display:flex;align-items:center;width:100%;padding:var(--space-xs) var(--space-sm);font-size:.8125rem;color:var(--color-gray-700);background:transparent;border:none;text-align:left;cursor:pointer;text-decoration:none;transition:background-color var(--transition-fast)}.menu-item.svelte-1dxazq3:hover{background-color:var(--color-gray-50);color:var(--color-gray-900)}.menu-item.svelte-1dxazq3:disabled{opacity:.5;cursor:not-allowed}.mobile-tabs.svelte-1dxazq3{display:none}@media(max-width:768px){.app.svelte-1dxazq3{height:100dvh;min-height:100svh}.navbar.svelte-1dxazq3{grid-template-columns:minmax(0,1fr) auto;height:calc(var(--navbar-height) + env(safe-area-inset-top));padding:env(safe-area-inset-top) var(--space-sm) 0}.navbar-left.svelte-1dxazq3{min-width:0;gap:2px}.navbar-right.svelte-1dxazq3{flex:0 0 auto;gap:4px}.logo-img.svelte-1dxazq3{height:24px}.export-btn.svelte-1dxazq3{min-width:70px;padding:0 .625rem}.workspace.svelte-1dxazq3{flex-direction:column;position:relative}.pane.svelte-1dxazq3{width:100%!important;height:100%;position:absolute;inset:0;z-index:1;padding-bottom:calc(54px + env(safe-area-inset-bottom))}.pane.mobile-hidden.svelte-1dxazq3{display:none;z-index:0}.resizer.svelte-1dxazq3,.layout-switch.svelte-1dxazq3{display:none}.editor-pane.svelte-1dxazq3>.toolbar:where(.svelte-1dxazq3),.preview-toolbar.svelte-1dxazq3{min-height:var(--pane-toolbar-height);height:auto;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;white-space:nowrap}.editor-pane.svelte-1dxazq3>.toolbar:where(.svelte-1dxazq3)::-webkit-scrollbar,.preview-toolbar.svelte-1dxazq3::-webkit-scrollbar{display:none}.preview-toolbar.svelte-1dxazq3{padding-right:var(--space-sm);gap:var(--space-xs)}.preview-status-wrapper.svelte-1dxazq3,.preview-toolbar-right.svelte-1dxazq3{flex:0 0 auto}.svg-preview-container.svelte-1dxazq3{padding:var(--space-sm)}.mobile-tabs.svelte-1dxazq3{display:flex;position:fixed;bottom:0;left:0;right:0;height:calc(54px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--color-white);border-top:1px solid var(--color-gray-200);z-index:100}.mobile-tab-btn.svelte-1dxazq3{flex:1;min-height:54px;border:none;background:transparent;font-size:.875rem;font-weight:600;color:var(--color-gray-500);cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative;-webkit-tap-highlight-color:transparent}.mobile-tab-btn.active.svelte-1dxazq3{color:var(--color-gray-900);background:var(--color-gray-50)}.mobile-tab-btn.active.svelte-1dxazq3:after{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--color-gray-900)}.hidden-mobile.svelte-1dxazq3{display:none!important}}
