.template-panel.svelte-cg48jn{background:var(--white);border-radius:var(--border-radius);border:1px solid var(--border-color);box-shadow:var(--shadow);max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease;padding:0}.template-panel.expanded.svelte-cg48jn{max-height:var(--dynamic-height, 500px);padding:1rem}.panel-header.svelte-cg48jn{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;gap:1rem}.panel-header.svelte-cg48jn h3:where(.svelte-cg48jn){margin:0;font-size:1rem;font-weight:600;color:var(--text-color)}.search-box.svelte-cg48jn{position:relative;flex:1;max-width:200px}.search-box.svelte-cg48jn input:where(.svelte-cg48jn){width:100%;padding:.5rem .75rem .5rem 2rem;border:1px solid var(--border-color);border-radius:var(--border-radius);font-size:.875rem;background-color:var(--light-bg);color:var(--text-color);transition:border-color .2s ease}.search-box.svelte-cg48jn input:where(.svelte-cg48jn):focus{border-color:var(--primary-color);outline:none;box-shadow:0 0 0 2px #2563eb1a}.search-icon.svelte-cg48jn{position:absolute;left:.5rem;top:50%;transform:translateY(-50%);color:var(--text-secondary);pointer-events:none}.category-tabs.svelte-cg48jn{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--border-color)}.category-tab.svelte-cg48jn{display:flex;align-items:center;gap:.375rem;padding:.375rem .75rem;border:1px solid var(--border-color);border-radius:20px;background:var(--white);color:var(--text-secondary);font-size:.875rem;cursor:pointer;transition:var(--transition);min-width:0}.category-tab.svelte-cg48jn:hover{border-color:var(--primary-color);color:var(--primary-color)}.category-tab.active.svelte-cg48jn{background:var(--primary-color);color:var(--white);border-color:var(--primary-color)}.category-icon.svelte-cg48jn{flex-shrink:0}.category-name.svelte-cg48jn{white-space:nowrap}.badge.svelte-cg48jn{background:#ffffff4d;color:inherit;font-size:.75rem;padding:.125rem .375rem;border-radius:10px;font-weight:500;min-width:1.25rem;text-align:center}.category-tab.svelte-cg48jn:not(.active) .badge:where(.svelte-cg48jn){background:var(--primary-color);color:var(--white)}.templates-grid.svelte-cg48jn{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(140px,100%),1fr));gap:.75rem;max-height:400px;overflow-y:auto;overflow-x:hidden;padding-top:.25rem;padding-right:.5rem;padding-bottom:.5rem;scrollbar-gutter:stable;border:1px solid transparent}.template-item.svelte-cg48jn{border:1px solid var(--border-color);border-radius:var(--border-radius);padding:.75rem;cursor:pointer;transition:var(--transition);background:var(--white);display:flex;flex-direction:column;gap:.5rem;min-height:80px;width:100%;min-width:0;max-width:none}.template-item.svelte-cg48jn:hover{border-color:var(--primary-color);box-shadow:var(--shadow);transform:translateY(-1px)}.template-preview.svelte-cg48jn{flex:1;display:flex;align-items:center;justify-content:center;min-height:40px;font-size:.75rem;color:var(--text-color);word-wrap:break-word;overflow-wrap:break-word;text-align:center;line-height:1.2;overflow-x:auto;overflow-y:hidden;position:relative;min-width:0}.template-preview.svelte-cg48jn .katex{font-size:.7rem!important;max-width:none;white-space:nowrap;display:inline-block}.template-preview.svelte-cg48jn .katex-display{margin:0!important;text-align:center}.template-preview.svelte-cg48jn:hover{overflow-x:visible;z-index:10}.template-preview.svelte-cg48jn:hover .katex{background:var(--white);border-radius:4px;box-shadow:var(--shadow);padding:.125rem .25rem}.template-info.svelte-cg48jn{display:flex;justify-content:space-between;align-items:center;gap:.25rem}.template-name.svelte-cg48jn{font-size:.75rem;color:var(--text-secondary);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-actions.svelte-cg48jn{display:flex;gap:.25rem;align-items:center;flex-shrink:0}.favorite-btn.svelte-cg48jn,.delete-btn.svelte-cg48jn{background:none;border:none;cursor:pointer;font-size:1rem;padding:.125rem;line-height:1;transition:var(--transition);flex-shrink:0}.favorite-btn.svelte-cg48jn{color:var(--text-secondary)}.favorite-btn.svelte-cg48jn:hover,.favorite-btn.active.svelte-cg48jn{color:#f59e0b;transform:scale(1.1)}.delete-btn.svelte-cg48jn{color:var(--text-secondary);font-size:.875rem;opacity:.6}.delete-btn.svelte-cg48jn:hover{color:#ef4444;opacity:1;transform:scale(1.1)}.empty-state.svelte-cg48jn{grid-column:1 / -1;text-align:center;padding:2rem;color:var(--text-secondary)}.empty-state.svelte-cg48jn p:where(.svelte-cg48jn){margin:0;font-size:.875rem}.templates-grid.svelte-cg48jn::-webkit-scrollbar{width:8px}.templates-grid.svelte-cg48jn::-webkit-scrollbar-track{background:var(--light-bg);border-radius:4px}.templates-grid.svelte-cg48jn::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:4px;border:1px solid var(--light-bg)}.templates-grid.svelte-cg48jn::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}.templates-grid.svelte-cg48jn{scrollbar-width:thin;scrollbar-color:var(--border-color) var(--light-bg)}@media (max-width: 768px){.template-panel.expanded.svelte-cg48jn{max-height:min(var(--dynamic-height, 500px),90vh);padding:.75rem}.panel-header.svelte-cg48jn{flex-direction:column;align-items:stretch;gap:.75rem}.search-box.svelte-cg48jn{max-width:none}.category-tabs.svelte-cg48jn{justify-content:flex-start;overflow-x:auto;padding-bottom:1rem;margin-bottom:1rem;scrollbar-width:none;-ms-overflow-style:none}.category-tabs.svelte-cg48jn::-webkit-scrollbar{display:none}.category-tab.svelte-cg48jn{flex-shrink:0}.templates-grid.svelte-cg48jn{grid-template-columns:repeat(auto-fill,minmax(min(120px,100%),1fr));gap:.5rem;max-height:350px;scrollbar-width:thin}.template-item.svelte-cg48jn{padding:.5rem;min-height:70px;min-width:0;width:100%}.template-preview.svelte-cg48jn{min-height:35px;font-size:.65rem;padding:.125rem;overflow-x:auto;overflow-y:hidden}.template-preview.svelte-cg48jn .katex{font-size:.6rem!important;max-width:none;white-space:nowrap}.template-preview.svelte-cg48jn:hover{overflow-x:auto;z-index:5}.template-preview.svelte-cg48jn:hover .katex{background:var(--white);border-radius:3px;padding:.075rem .15rem;box-shadow:0 1px 3px #0003}.template-name.svelte-cg48jn{font-size:.7rem}}.modal-overlay.svelte-o9x2s8{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content.svelte-o9x2s8{background:var(--white);border-radius:var(--border-radius);box-shadow:var(--shadow-lg);max-width:500px;width:100%;max-height:90vh;overflow-y:auto;animation:svelte-o9x2s8-slideIn .3s ease}.modal-header.svelte-o9x2s8{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid var(--border-color)}.modal-header.svelte-o9x2s8 h3:where(.svelte-o9x2s8){margin:0;font-size:1.125rem;font-weight:600;color:var(--text-color)}.close-button.svelte-o9x2s8{background:none;border:none;color:var(--text-secondary);font-size:1.5rem;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:var(--transition)}.close-button.svelte-o9x2s8:hover{color:var(--text-color);background-color:var(--light-bg)}.modal-body.svelte-o9x2s8{padding:1.5rem}.preview-section.svelte-o9x2s8{margin-bottom:1.5rem}.preview-section.svelte-o9x2s8 label:where(.svelte-o9x2s8){display:block;margin-bottom:.5rem;font-weight:500;color:var(--text-color);font-size:.875rem}.formula-preview.svelte-o9x2s8{background:var(--light-bg);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:1rem;min-height:60px;display:flex;align-items:center;justify-content:center;font-size:1rem;color:var(--text-color)}.duplicate-warning.svelte-o9x2s8{display:flex;align-items:flex-start;gap:.75rem;background:#fef3cd;border:1px solid #fecaca;border-radius:var(--border-radius);padding:1rem;margin-bottom:1.5rem}.warning-icon.svelte-o9x2s8{font-size:1.25rem;flex-shrink:0}.warning-text.svelte-o9x2s8 strong:where(.svelte-o9x2s8){color:#92400e;display:block;margin-bottom:.25rem}.warning-text.svelte-o9x2s8 p:where(.svelte-o9x2s8){color:#92400e;margin:0;font-size:.875rem}.form-group.svelte-o9x2s8{margin-bottom:1rem}.form-group.svelte-o9x2s8 label:where(.svelte-o9x2s8){display:block;margin-bottom:.5rem;font-weight:500;color:var(--text-color);font-size:.875rem}.required.svelte-o9x2s8{color:var(--error-color)}.form-group.svelte-o9x2s8 input:where(.svelte-o9x2s8),.form-group.svelte-o9x2s8 select:where(.svelte-o9x2s8){width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:var(--border-radius);font-size:.875rem;background-color:var(--white);color:var(--text-color);transition:var(--transition)}.form-group.svelte-o9x2s8 input:where(.svelte-o9x2s8):focus,.form-group.svelte-o9x2s8 select:where(.svelte-o9x2s8):focus{border-color:var(--primary-color);outline:none;box-shadow:0 0 0 2px #2563eb1a}.form-help.svelte-o9x2s8{display:block;margin-top:.25rem;font-size:.75rem;color:var(--text-secondary)}.error-message.svelte-o9x2s8{background:#fef2f2;border:1px solid #fecaca;color:var(--error-color);padding:.75rem;border-radius:var(--border-radius);font-size:.875rem;margin-bottom:1rem}.modal-footer.svelte-o9x2s8{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid var(--border-color);background-color:var(--light-bg)}.modal-footer.svelte-o9x2s8 button:where(.svelte-o9x2s8){padding:.75rem 1.5rem;font-size:.875rem;font-weight:500;border-radius:var(--border-radius);cursor:pointer;transition:var(--transition);min-width:80px}.modal-footer.svelte-o9x2s8 button:where(.svelte-o9x2s8):not(.secondary){background-color:var(--primary-color);color:var(--white);border:none}.modal-footer.svelte-o9x2s8 button:where(.svelte-o9x2s8):not(.secondary):hover:not(:disabled){background-color:var(--primary-hover)}.modal-footer.svelte-o9x2s8 button.secondary:where(.svelte-o9x2s8){background-color:var(--white);color:var(--text-color);border:1px solid var(--border-color)}.modal-footer.svelte-o9x2s8 button.secondary:where(.svelte-o9x2s8):hover:not(:disabled){background-color:var(--light-bg);border-color:var(--text-secondary)}.modal-footer.svelte-o9x2s8 button:where(.svelte-o9x2s8):disabled{opacity:.5;cursor:not-allowed}@keyframes svelte-o9x2s8-slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.modal-overlay.svelte-o9x2s8{padding:.5rem}.modal-content.svelte-o9x2s8{max-height:95vh}.modal-header.svelte-o9x2s8,.modal-body.svelte-o9x2s8,.modal-footer.svelte-o9x2s8{padding:1rem}.modal-footer.svelte-o9x2s8{flex-direction:column-reverse}.modal-footer.svelte-o9x2s8 button:where(.svelte-o9x2s8){width:100%}}*{box-sizing:border-box}html,body{overflow-x:hidden;width:100%;margin:0;padding:0;box-sizing:border-box}body{font-family:var(--font-sans);line-height:1.6;color:var(--text-color);background-color:var(--light-bg)}:root{--primary-color: #2563eb;--primary-hover: #1d4ed8;--secondary-color: #4f46e5;--secondary-hover: #4338ca;--success-color: #059669;--error-color: #dc2626;--text-color: #1f2937;--text-secondary: #4b5563;--light-bg: #f8fafc;--white: #ffffff;--border-color: #e2e8f0;--border-radius: 12px;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow: 0 4px 6px -1px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1);--transition: color .2s ease, background-color .2s ease, border-color .2s ease;--padding-standard: 1.5rem;--spacing-small: .75rem;--spacing-medium: 1.25rem;--font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace}.loading-container.svelte-nlm0c3{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;font-size:1.1rem;color:var(--text-secondary)}.loading-spinner.svelte-nlm0c3{width:50px;height:50px;border:4px solid rgba(0,0,0,.1);border-radius:50%;border-top-color:var(--secondary-color);animation:svelte-nlm0c3-spin 1s ease-in-out infinite;margin-bottom:var(--spacing-medium)}.container.svelte-nlm0c3{max-width:1000px;width:100%;margin:1rem auto;padding:var(--padding-standard);font-family:var(--font-sans)}h1.svelte-nlm0c3{text-align:center;color:var(--text-color);margin-bottom:.75rem;font-size:2rem;font-weight:700;letter-spacing:-.025em;line-height:1.2}.description.svelte-nlm0c3{text-align:center;color:var(--text-secondary);margin-bottom:1.5rem;font-size:1rem;max-width:42rem;margin-left:auto;margin-right:auto;line-height:1.5}.input-section.svelte-nlm0c3{display:grid;gap:2rem;margin-bottom:2rem}.section-card.svelte-nlm0c3{background:var(--white);padding:.75rem;border-radius:var(--border-radius);box-shadow:var(--shadow);border:1px solid var(--border-color)}.section-header.svelte-nlm0c3{margin-bottom:.75rem}.section-header.svelte-nlm0c3 h3:where(.svelte-nlm0c3){font-size:1rem;font-weight:600;color:var(--text-color);margin:0;display:flex;align-items:center;gap:.5rem}.section-header.svelte-nlm0c3 svg:where(.svelte-nlm0c3){color:var(--text-secondary);opacity:.7}textarea.svelte-nlm0c3{box-sizing:border-box;width:100%;max-width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:var(--border-radius);font-family:var(--font-mono);font-size:.9375rem;line-height:1.5;resize:vertical;min-height:60px;max-height:400px;height:auto;transition:border-color .2s ease;background-color:var(--light-bg);color:var(--text-color);word-wrap:break-word;overflow-wrap:break-word;contain:layout style;will-change:height}textarea.svelte-nlm0c3:focus{border-color:var(--primary-color);outline:none;box-shadow:0 0 0 3px #2563eb1a;transform:translateZ(0)}.input-actions.svelte-nlm0c3{display:flex;justify-content:flex-end;margin:.25rem;gap:.5rem}.template-toggle-btn.svelte-nlm0c3,.save-template-btn.svelte-nlm0c3{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.875rem;font-weight:500;background-color:var(--white);color:var(--text-secondary);border:1px solid var(--border-color);border-radius:var(--border-radius);cursor:pointer;transition:var(--transition);min-width:auto}.template-toggle-btn.svelte-nlm0c3:hover,.save-template-btn.svelte-nlm0c3:hover:not(:disabled){border-color:var(--primary-color);color:var(--primary-color);background-color:#2563eb0d}.template-toggle-btn.active.svelte-nlm0c3{background-color:var(--primary-color);color:var(--white);border-color:var(--primary-color)}.save-template-btn.svelte-nlm0c3:disabled{opacity:.5;cursor:not-allowed;color:var(--text-secondary);border-color:var(--border-color);background-color:var(--light-bg)}.template-toggle-btn.svelte-nlm0c3 svg:where(.svelte-nlm0c3),.save-template-btn.svelte-nlm0c3 svg:where(.svelte-nlm0c3){width:16px;height:16px;stroke-width:2}.preview-container.svelte-nlm0c3{background:var(--white);border-radius:var(--border-radius);display:flex;align-items:center;justify-content:center;position:relative;min-height:80px;transition:var(--transition);border:1px solid var(--border-color);background-color:var(--light-bg);padding:.75rem}.preview-content.svelte-nlm0c3{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.preview-container.error.svelte-nlm0c3{background:#fef2f2;border-color:var(--error-color)}.preview-container.transparent.svelte-nlm0c3{background-image:linear-gradient(45deg,#f0f0f0 25%,transparent 25%),linear-gradient(-45deg,#f0f0f0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f0f0f0 75%),linear-gradient(-45deg,transparent 75%,#f0f0f0 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0px}.preview-container.transparent-dark.svelte-nlm0c3{background-image:linear-gradient(45deg,#1a1a1a 25%,transparent 25%),linear-gradient(-45deg,#1a1a1a 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#1a1a1a 75%),linear-gradient(-45deg,transparent 75%,#1a1a1a 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0px;background-color:#2a2a2a}.error-overlay.svelte-nlm0c3{position:absolute;top:0;left:0;right:0;bottom:0;background:#fef2f2e6;display:flex;flex-direction:column;align-items:center;justify-content:center;animation:svelte-nlm0c3-fadeIn .3s ease;border-radius:var(--border-radius)}.error-icon.svelte-nlm0c3{font-size:2rem;margin-bottom:1rem;color:var(--error-color)}.error-overlay.svelte-nlm0c3 p:where(.svelte-nlm0c3){color:var(--error-color);font-weight:500}.export-options.svelte-nlm0c3{background:var(--white);padding:1.5rem;border-radius:var(--border-radius);border:2px solid var(--border-color);box-shadow:var(--shadow-sm)}.format-selector.svelte-nlm0c3{display:flex;gap:.5rem;margin-bottom:1rem}.format-option.svelte-nlm0c3{position:relative;padding:.75rem 1.25rem;background:var(--white);border-radius:var(--border-radius);border:1px solid var(--border-color);cursor:pointer;transition:var(--transition);min-width:120px;text-align:center}.format-option.svelte-nlm0c3:hover{border-color:var(--primary-color);background:var(--light-bg)}.format-option.active.svelte-nlm0c3{border-color:var(--primary-color);background:#3b82f626;box-shadow:0 0 0 1px var(--primary-color)}.format-icon.svelte-nlm0c3{font-weight:600;font-size:.875rem;margin-bottom:.25rem;color:var(--text-color)}.format-text.svelte-nlm0c3{font-size:.75rem;color:var(--text-secondary)}.buttons-container.svelte-nlm0c3{display:flex;gap:.75rem;margin-top:1rem}button.svelte-nlm0c3{padding:.75rem 1.25rem;font-size:.875rem;font-weight:500;border-radius:var(--border-radius);display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-width:140px;cursor:pointer;transition:all .2s ease}button.svelte-nlm0c3:not(.secondary){background-color:var(--primary-color);color:var(--white);border:none}button.svelte-nlm0c3:not(.secondary):hover:not(:disabled){background-color:var(--primary-hover);transform:translateY(-1px)}button.svelte-nlm0c3:not(.secondary):active:not(:disabled){transform:none}button.secondary.svelte-nlm0c3{background-color:var(--white);color:var(--text-color);border:1px solid var(--border-color)}button.secondary.svelte-nlm0c3:hover:not(:disabled){border-color:var(--primary-color);color:var(--primary-color);background-color:#2563eb0d}button.secondary.svelte-nlm0c3:active:not(:disabled){background-color:#2563eb1a}button.svelte-nlm0c3 svg:where(.svelte-nlm0c3){width:16px;height:16px;stroke-width:2}button.svelte-nlm0c3:disabled{background-color:var(--light-bg);color:var(--text-secondary);cursor:not-allowed;opacity:.7;transform:none}button.loading.svelte-nlm0c3{cursor:wait;position:relative}button.loading.svelte-nlm0c3:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);animation:svelte-nlm0c3-loading 1.5s infinite}@keyframes svelte-nlm0c3-loading{0%{transform:translate(-100%)}to{transform:translate(100%)}}.file-name-container.svelte-nlm0c3{display:flex;align-items:center;gap:.75rem;background:var(--white);padding:.75rem 1rem;border-radius:var(--border-radius);border:1px solid var(--border-color);margin:1rem 0;width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}.file-name-container.svelte-nlm0c3 label:where(.svelte-nlm0c3){font-weight:500;color:var(--text-secondary);font-size:.875rem;white-space:nowrap;flex-shrink:0}.file-name-container.svelte-nlm0c3 input:where(.svelte-nlm0c3){flex:1;min-width:0;max-width:none;padding:.5rem .75rem;border:1px solid var(--border-color);border-radius:var(--border-radius);font-size:.875rem;transition:var(--transition);background:var(--light-bg);color:var(--text-color);box-sizing:border-box;word-wrap:break-word;overflow-wrap:break-word}.file-name-container.svelte-nlm0c3 input:where(.svelte-nlm0c3):focus{border-color:var(--primary-color);outline:none;box-shadow:0 0 0 2px #2563eb1a}.file-extension.svelte-nlm0c3{font-family:var(--font-mono);font-weight:500;color:var(--text-secondary);padding:.5rem .75rem;background:var(--light-bg);border-radius:var(--border-radius);font-size:.875rem}.transparent-option.svelte-nlm0c3{display:flex;align-items:center;gap:.5rem;padding:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none}.transparent-option.svelte-nlm0c3 input[type=checkbox]:where(.svelte-nlm0c3){-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1rem;height:1rem;border:2px solid var(--border-color);border-radius:.25rem;display:grid;place-content:center;transition:var(--transition);background-color:var(--white)}.transparent-option.svelte-nlm0c3 input[type=checkbox]:where(.svelte-nlm0c3):checked{border-color:var(--primary-color);background-color:var(--primary-color)}.transparent-option.svelte-nlm0c3 input[type=checkbox]:where(.svelte-nlm0c3):checked:before{content:"";width:.5rem;height:.5rem;transform:scale(1);clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%);background-color:#fff}.transparent-option.svelte-nlm0c3 input[type=checkbox]:where(.svelte-nlm0c3):disabled{opacity:.5;cursor:not-allowed}.transparent-option.svelte-nlm0c3 span:where(.svelte-nlm0c3){font-size:.875rem;color:var(--text-secondary)}.tooltip.svelte-nlm0c3{position:fixed;background:#000c;color:var(--white);padding:.5rem 1rem;border-radius:4px;font-size:.875rem;z-index:1100;max-width:250px;transform:translate(-50%,-100%);margin-top:-10px;animation:svelte-nlm0c3-fadeIn .2s ease}.tooltip.svelte-nlm0c3:after{content:"";position:absolute;bottom:-5px;left:50%;transform:translate(-50%);width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid rgba(0,0,0,.8)}.feedback-message.svelte-nlm0c3{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);padding:.75rem 1.5rem;border-radius:var(--border-radius);font-size:.9rem;z-index:1050;box-shadow:0 4px 12px #00000026;animation:svelte-nlm0c3-slideUp .3s ease,svelte-nlm0c3-fadeOut .3s ease 2.2s forwards;max-width:90%}.feedback-message.success.svelte-nlm0c3{background:var(--primary-color);color:var(--white)}.feedback-message.error.svelte-nlm0c3{background:#f44;color:var(--white)}.feedback-message.info.svelte-nlm0c3{background:var(--secondary-color);color:var(--white)}@keyframes svelte-nlm0c3-spin{to{transform:rotate(360deg)}}@keyframes svelte-nlm0c3-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes svelte-nlm0c3-fadeOut{0%{opacity:1}to{opacity:0}}@keyframes svelte-nlm0c3-slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes svelte-nlm0c3-slideUp{0%{transform:translate(-50%,20px);opacity:0}to{transform:translate(-50%);opacity:1}}@keyframes svelte-nlm0c3-ripple{0%{transform:scale(0);opacity:.5}20%{transform:scale(25);opacity:.5}to{opacity:0;transform:scale(40)}}@media (max-width: 1024px){.container.svelte-nlm0c3{max-width:100%;padding:1rem}.input-section.svelte-nlm0c3{gap:1.5rem}}@media (max-width: 768px){.container.svelte-nlm0c3{margin:0;padding:.75rem;width:100%;box-sizing:border-box}h1.svelte-nlm0c3{font-size:1.75rem;margin-bottom:.5rem}.description.svelte-nlm0c3{font-size:.9rem;margin-bottom:1.25rem;padding:0}.input-section.svelte-nlm0c3{gap:1rem;margin-bottom:1rem}.section-card.svelte-nlm0c3{padding:1rem;margin:0;border-radius:12px;box-shadow:0 2px 8px #0000001a;width:100%;box-sizing:border-box}textarea.svelte-nlm0c3{font-size:.875rem;padding:.875rem;min-height:100px;border-radius:8px;width:100%;box-sizing:border-box}.preview-container.svelte-nlm0c3{min-height:100px;padding:1rem;border-radius:8px;width:100%;box-sizing:border-box}.export-options.svelte-nlm0c3{padding:1rem;margin:0;border-radius:12px;border:1px solid var(--border-color);width:100%;box-sizing:border-box}.format-selector.svelte-nlm0c3{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-bottom:1rem;width:100%;box-sizing:border-box}.format-option.svelte-nlm0c3{padding:.75rem .5rem;text-align:center;border-radius:8px;min-width:unset;width:100%;box-sizing:border-box}.file-name-container.svelte-nlm0c3{flex-direction:column;align-items:stretch;gap:.75rem;padding:1rem;margin:1rem 0;border-radius:8px;width:100%;box-sizing:border-box}.file-name-container.svelte-nlm0c3 label:where(.svelte-nlm0c3){font-size:.875rem;margin-bottom:.25rem}.file-name-input-wrapper.svelte-nlm0c3{display:flex;align-items:center;gap:.5rem;width:100%;box-sizing:border-box}.file-name-container.svelte-nlm0c3 input:where(.svelte-nlm0c3){flex:1;padding:.75rem;font-size:.875rem;border-radius:6px;min-width:0;box-sizing:border-box}.file-extension.svelte-nlm0c3{padding:.75rem .5rem;font-size:.875rem;border-radius:6px;background:var(--light-bg);border:1px solid var(--border-color);flex-shrink:0;box-sizing:border-box}.buttons-container.svelte-nlm0c3{flex-direction:column;gap:.75rem;margin-top:1.25rem;width:100%;box-sizing:border-box}button.svelte-nlm0c3{width:100%;padding:1rem 1.25rem;font-size:.9rem;border-radius:8px;box-sizing:border-box}.transparent-option.svelte-nlm0c3{padding:.75rem;margin:.75rem 0;border-radius:8px;background:var(--light-bg);width:100%;box-sizing:border-box}.feedback-message.svelte-nlm0c3{width:calc(100% - 1.5rem);left:.75rem;right:.75rem;transform:none;box-sizing:border-box}}@media (max-width: 480px){.container.svelte-nlm0c3{padding:.5rem;width:100%;box-sizing:border-box}h1.svelte-nlm0c3{font-size:1.5rem}.description.svelte-nlm0c3{font-size:.85rem;padding:0}.section-card.svelte-nlm0c3{padding:.875rem;margin:0;width:100%;box-sizing:border-box}.export-options.svelte-nlm0c3{margin:0;width:100%;box-sizing:border-box}.format-selector.svelte-nlm0c3{grid-template-columns:repeat(3,1fr);gap:.375rem;width:100%;box-sizing:border-box}.format-option.svelte-nlm0c3{padding:.625rem .375rem;width:100%;box-sizing:border-box}.format-icon.svelte-nlm0c3{font-size:.8rem}.format-text.svelte-nlm0c3{font-size:.7rem}.file-name-container.svelte-nlm0c3{padding:.875rem;margin:.875rem 0;width:100%;box-sizing:border-box}.file-name-input-wrapper.svelte-nlm0c3{width:100%;box-sizing:border-box}.file-name-container.svelte-nlm0c3 input:where(.svelte-nlm0c3){padding:.625rem;font-size:.8rem;min-width:0;box-sizing:border-box}.file-extension.svelte-nlm0c3{padding:.625rem .375rem;font-size:.8rem;flex-shrink:0;box-sizing:border-box}button.svelte-nlm0c3{padding:.875rem 1rem;font-size:.85rem;width:100%;box-sizing:border-box}.transparent-option.svelte-nlm0c3{width:100%;box-sizing:border-box}}@media (max-width: 360px){.container.svelte-nlm0c3{padding:.375rem;width:100%;box-sizing:border-box}h1.svelte-nlm0c3{font-size:1.375rem}.section-card.svelte-nlm0c3,.export-options.svelte-nlm0c3{margin:0;width:100%;box-sizing:border-box}.format-selector.svelte-nlm0c3{grid-template-columns:1fr 1fr;gap:.25rem;width:100%;box-sizing:border-box}.format-option.svelte-nlm0c3{padding:.5rem .25rem;width:100%;box-sizing:border-box}.file-name-container.svelte-nlm0c3{padding:.75rem;width:100%;box-sizing:border-box}.file-name-input-wrapper.svelte-nlm0c3{width:100%;box-sizing:border-box}.file-name-container.svelte-nlm0c3 input:where(.svelte-nlm0c3),.file-extension.svelte-nlm0c3{font-size:.75rem;padding:.5rem;box-sizing:border-box}.file-name-container.svelte-nlm0c3 input:where(.svelte-nlm0c3){min-width:0}button.svelte-nlm0c3{padding:.75rem;font-size:.8rem;width:100%;box-sizing:border-box}.transparent-option.svelte-nlm0c3{width:100%;box-sizing:border-box}}@media (prefers-color-scheme: dark){:root{--primary-color: #3b82f6;--primary-hover: #2563eb;--secondary-color: #6366f1;--secondary-hover: #4f46e5;--text-color: #f3f4f6;--text-secondary: #9ca3af;--light-bg: #2a3441;--white: #1a212c;--border-color: #374151}.preview-container.svelte-nlm0c3{background:#1a212c;box-shadow:0 1px 3px #0000004d}.preview-content.svelte-nlm0c3{color:#f3f4f6!important}.preview-container.transparent.svelte-nlm0c3{background-image:linear-gradient(45deg,#2a3441 25%,transparent 25%),linear-gradient(-45deg,#2a3441 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#2a3441 75%),linear-gradient(-45deg,transparent 75%,#2a3441 75%)}button.secondary.svelte-nlm0c3{background-color:#1a212c;border-color:#374151;color:#e5e7eb}button.secondary.svelte-nlm0c3:hover:not(:disabled){background-color:#2a3441;border-color:#3b82f6;color:#3b82f6}textarea.svelte-nlm0c3,input.svelte-nlm0c3{background-color:#1a212c;color:#f3f4f6;border-color:#374151}.format-option.svelte-nlm0c3{background-color:#1a212c;border-color:#374151}.format-option.svelte-nlm0c3:hover{background-color:#2a3441;border-color:#3b82f6}.format-option.active.svelte-nlm0c3{background:#3b82f640;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6,0 0 8px #3b82f666}.format-icon.svelte-nlm0c3{color:#f3f4f6}.format-text.svelte-nlm0c3{color:#9ca3af}.transparent-option.svelte-nlm0c3 span:where(.svelte-nlm0c3){color:#e5e7eb}.transparent-option.svelte-nlm0c3 input[type=checkbox]:where(.svelte-nlm0c3){background-color:#1a212c;border-color:#4b5563}.transparent-option.svelte-nlm0c3 input[type=checkbox]:where(.svelte-nlm0c3):checked{background-color:#3b82f6;border-color:#3b82f6}.file-extension.svelte-nlm0c3{background:#2a3441;color:#d1d5db}.file-name-container.svelte-nlm0c3{background-color:#1a212c;border-color:#374151;box-shadow:0 1px 2px #0003}.file-name-container.svelte-nlm0c3 label:where(.svelte-nlm0c3){color:#d1d5db}button.svelte-nlm0c3:disabled{background-color:#2a3441;color:#6b7280}.section-card.svelte-nlm0c3{background-color:#1a212c;border-color:#374151;box-shadow:0 1px 3px #0000004d}input.svelte-nlm0c3:focus,textarea.svelte-nlm0c3:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f640}.svelte-nlm0c3::-webkit-scrollbar{width:8px;height:8px}.svelte-nlm0c3::-webkit-scrollbar-track{background:#1a212c}.svelte-nlm0c3::-webkit-scrollbar-thumb{background:#4b5563;border-radius:4px}.svelte-nlm0c3::-webkit-scrollbar-thumb:hover{background:#6b7280}.export-options.svelte-nlm0c3{background-color:#1a212c;border-color:#374151;box-shadow:0 1px 3px #0003}}
