.macropad-container.svelte-1lh50o5{width:100%;max-width:500px;margin:0 auto}.macropad-svg.svelte-1lh50o5{width:100%;height:auto;border:2px solid #333;border-radius:15px;background:linear-gradient(135deg,#f8f9fa,#e9ecef)}.device-body.svelte-1lh50o5{fill:#2c3e50;stroke:#1a252f;stroke-width:2}.led-ring.svelte-1lh50o5{fill:none;stroke:#ff6b6b;stroke-width:6;opacity:.8;filter:drop-shadow(0 0 8px #ff6b6b)}.wheel.svelte-1lh50o5{fill:#34495e;stroke:#4a6741;stroke-width:3;cursor:pointer;transition:all .2s ease}.wheel.svelte-1lh50o5:hover{fill:#3d566e;stroke:#5a7c50}.wheel.svelte-1lh50o5:focus{outline:none;stroke:#3498db;stroke-width:4}.wheel.selected.svelte-1lh50o5{fill:#4668a1;stroke:#3498db;stroke-width:5}.wheel-center.svelte-1lh50o5{fill:#95a5a6;pointer-events:none}.wheel-label.svelte-1lh50o5{fill:#bdc3c7;font-family:Arial,sans-serif;font-size:12px;font-weight:700;text-anchor:middle;pointer-events:none;-webkit-user-select:none;user-select:none}.key.svelte-1lh50o5{fill:#4a5568;stroke:#2d3748;stroke-width:2;cursor:pointer;transition:all .2s ease}.key.svelte-1lh50o5:hover{fill:#5a6578;stroke:#3d4758}.key.svelte-1lh50o5:focus{outline:none;stroke:#3498db;stroke-width:3}.key.selected.svelte-1lh50o5{fill:#6a7588;stroke:#3498db;stroke-width:4}.display-area.svelte-1lh50o5{fill:#1a202c;stroke:#4a5568;stroke-width:2}.display-item-bg.svelte-1lh50o5{fill:#2d3748;stroke:#4a5568;stroke-width:1}.display-icon.svelte-1lh50o5{fill:#f7fafc;font-family:Arial,sans-serif;font-size:10px;text-anchor:middle;pointer-events:none;-webkit-user-select:none;user-select:none}.display-bmp-icon.svelte-1lh50o5{pointer-events:none}.display-icon-placeholder.svelte-1lh50o5{fill:none;stroke:#4a5568;stroke-width:1;stroke-dasharray:2,2}.display-icon-placeholder-text.svelte-1lh50o5{fill:#718096;font-family:Arial,sans-serif;font-size:10px;text-anchor:middle;pointer-events:none;-webkit-user-select:none;user-select:none}.display-icon-error.svelte-1lh50o5{fill:#fed7d7;stroke:#e53e3e;stroke-width:1}.display-icon-error-text.svelte-1lh50o5{fill:#e53e3e;font-family:Arial,sans-serif;font-size:10px;font-weight:700;text-anchor:middle;pointer-events:none;-webkit-user-select:none;user-select:none}.display-label.svelte-1lh50o5{fill:#e2e8f0;font-family:Courier New,monospace;font-size:8px;text-anchor:middle;pointer-events:none;-webkit-user-select:none;user-select:none}.display-label.placeholder.svelte-1lh50o5{fill:#718096;font-style:italic}.modal-backdrop.svelte-wczsuw{position:fixed;inset:0;background:#000000b3;z-index:2000;display:flex;align-items:center;justify-content:center;padding:20px}.capture-modal.svelte-wczsuw{background:#fff;border-radius:12px;padding:32px;max-width:480px;width:100%;box-shadow:0 25px 50px #0003;position:relative;outline:none}h2.svelte-wczsuw{margin:0 0 8px;color:#2d3748;font-size:22px;font-weight:600}.capture-instructions.svelte-wczsuw{margin:0 0 24px;color:#718096;font-size:13px;line-height:1.5}.live-preview.svelte-wczsuw{padding:24px;background:#f7fafc;border:2px solid #e2e8f0;border-radius:8px;margin-bottom:24px;min-height:120px;display:flex;align-items:center;justify-content:center}.preview-content.svelte-wczsuw{width:100%}.preview-waiting.svelte-wczsuw{color:#cbd5e0;font-size:16px;text-align:center;animation:svelte-wczsuw-pulse 1.5s ease-in-out infinite}@keyframes svelte-wczsuw-pulse{0%,to{opacity:1}50%{opacity:.5}}.preview-keycode.svelte-wczsuw,.preview-name.svelte-wczsuw,.preview-modifiers.svelte-wczsuw{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding:12px;background:#fff;border-radius:6px;border:1px solid #cbd5e0}.preview-keycode.svelte-wczsuw:last-of-type,.preview-name.svelte-wczsuw:last-of-type,.preview-modifiers.svelte-wczsuw:last-of-type{margin-bottom:0}.label.svelte-wczsuw{font-weight:600;color:#4a5568;font-size:13px;text-transform:uppercase;letter-spacing:.5px}.value.svelte-wczsuw{font-family:Monaco,Menlo,Courier New,monospace;font-size:16px;font-weight:600;color:#2d3748}.preview-chord-note.svelte-wczsuw{margin-top:12px;padding:12px;background:#fffbf0;border:1px solid #fbd38d;border-radius:6px;color:#744210;font-size:13px;font-style:italic}.capture-info.svelte-wczsuw{padding:12px 16px;background:#edf2f7;border-radius:6px;border-left:4px solid #4299e1}.capture-info.svelte-wczsuw p:where(.svelte-wczsuw){margin:0;color:#2d3748;font-size:13px;line-height:1.5}@media(max-width:600px){.capture-modal.svelte-wczsuw{padding:24px}h2.svelte-wczsuw{font-size:18px}.live-preview.svelte-wczsuw{min-height:100px}}.config-panel.svelte-1yiwkcz{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;min-height:320px;box-shadow:0 4px 6px -1px #0000001a}h2.svelte-1yiwkcz{margin:0 0 24px;color:#2d3748;font-size:24px;border-bottom:2px solid #3498db;padding-bottom:12px;font-weight:600}.config-section.svelte-1yiwkcz{margin-bottom:24px}label.svelte-1yiwkcz{display:block;margin-bottom:8px;font-weight:600;color:#4a5568;font-size:14px}input.svelte-1yiwkcz,select.svelte-1yiwkcz{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;box-sizing:border-box;transition:all .2s ease;background:#f7fafc}input.svelte-1yiwkcz:focus,select.svelte-1yiwkcz:focus{outline:none;border-color:#3498db;background:#fff;box-shadow:0 0 0 3px #3498db1a}h3.svelte-1yiwkcz{margin:0 0 16px;color:#4a5568;font-size:18px;font-weight:600}.keycode-input.svelte-1yiwkcz{display:flex;align-items:center;gap:8px}.keycode-input.svelte-1yiwkcz input:where(.svelte-1yiwkcz){flex:0 0 auto;width:80px}.keycode-display.svelte-1yiwkcz{color:#718096;font-size:13px;font-style:italic;white-space:nowrap}.helper-text.svelte-1yiwkcz{margin-top:4px;font-size:12px;color:#718096}.helper-text.svelte-1yiwkcz a:where(.svelte-1yiwkcz){color:#3498db;text-decoration:none}.helper-text.svelte-1yiwkcz a:where(.svelte-1yiwkcz):hover{text-decoration:underline}.action-row.svelte-1yiwkcz{padding:16px;border:1px solid #e2e8f0;border-radius:8px;background:#fafafa;margin-bottom:16px}.action-label.svelte-1yiwkcz{display:block;font-weight:600;color:#4a5568;margin-bottom:12px}.action-inputs.svelte-1yiwkcz{display:flex;align-items:flex-end;gap:12px;margin-bottom:8px}.input-group.svelte-1yiwkcz{flex:1}.input-group.svelte-1yiwkcz label:where(.svelte-1yiwkcz){margin-bottom:4px;font-size:12px}.keycode-group.svelte-1yiwkcz{flex:2}.clear-button.svelte-1yiwkcz{background:#e53e3e;color:#fff;border:none;padding:8px 12px;border-radius:6px;font-size:12px;cursor:pointer;transition:all .2s ease;height:fit-content}.clear-button.svelte-1yiwkcz:hover{background:#c53030;transform:translateY(-1px)}.capture-button.svelte-1yiwkcz{background:#3498db;color:#fff;border:none;padding:8px 12px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s ease;height:fit-content;white-space:nowrap}.capture-button.svelte-1yiwkcz:hover{background:#2980b9;transform:translateY(-1px);box-shadow:0 4px 8px #3498db4d}.action-preview.svelte-1yiwkcz{font-size:12px;color:#718096;font-family:Courier New,monospace;background:#f7fafc;padding:4px 8px;border-radius:4px;border:1px solid #e2e8f0}@media(max-width:768px){.config-panel.svelte-1yiwkcz{margin-top:20px;padding:20px}}.modal-backdrop.svelte-mrlnh3{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content.svelte-mrlnh3{background:#fff;border-radius:8px;box-shadow:0 4px 24px #00000026;padding:24px;max-width:400px;width:90%}.modal-header.svelte-mrlnh3{display:flex;align-items:center;gap:12px;margin-bottom:16px}.icon.svelte-mrlnh3{font-size:1.5rem;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%}.icon.danger.svelte-mrlnh3{background:#fee;color:#d32f2f}.icon.warning.svelte-mrlnh3{background:#fff3cd;color:#856404}h2.svelte-mrlnh3{margin:0;font-size:1.25rem;color:#333}.modal-body.svelte-mrlnh3{margin-bottom:24px}.modal-body.svelte-mrlnh3 p:where(.svelte-mrlnh3){margin:0;color:#555;line-height:1.5}.modal-actions.svelte-mrlnh3{display:flex;gap:12px;justify-content:flex-end}.btn.svelte-mrlnh3{padding:8px 16px;border-radius:4px;font-size:.9rem;font-weight:500;cursor:pointer;border:1px solid;transition:background-color .2s,border-color .2s}.btn-secondary.svelte-mrlnh3{background:#fff;color:#666;border-color:#ddd}.btn-secondary.svelte-mrlnh3:hover{background:#f8f9fa;border-color:#adb5bd}.btn-danger.svelte-mrlnh3{background:#d32f2f;color:#fff;border-color:#d32f2f}.btn-danger.svelte-mrlnh3:hover{background:#b71c1c;border-color:#b71c1c}.btn-warning.svelte-mrlnh3{background:#f57c00;color:#fff;border-color:#f57c00}.btn-warning.svelte-mrlnh3:hover{background:#ef6c00;border-color:#ef6c00}.profiles-sidebar.svelte-1qkzdga{width:280px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;height:100vh;overflow-y:auto}.sidebar-header.svelte-1qkzdga{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e2e8f0;background:#f8f9fa}.sidebar-header.svelte-1qkzdga h2:where(.svelte-1qkzdga){margin:0;font-size:1.4rem;color:#2d3748;font-weight:600}.add-button.svelte-1qkzdga{width:32px;height:32px;border-radius:6px;border:2px solid #3498db;background:#3498db;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:18px;font-weight:700}.add-button.svelte-1qkzdga:hover:not(:disabled){background:#2980b9;border-color:#2980b9;transform:translateY(-1px)}.add-button.svelte-1qkzdga:disabled{background:#bdc3c7;border-color:#bdc3c7;cursor:not-allowed;transform:none}.plus-icon.svelte-1qkzdga{line-height:1}.max-profiles-hint.svelte-1qkzdga{padding:8px 20px;margin:0;font-size:12px;color:#e67e22;background:#fef5e7;border-bottom:1px solid #f4d03f;font-style:italic}.profiles-list.svelte-1qkzdga{flex:1;overflow-y:auto}.profile-row.svelte-1qkzdga{position:relative;padding:12px 20px;border-bottom:1px solid #f1f5f9;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:12px;min-height:60px}.profile-row.svelte-1qkzdga:hover{background:#f8f9fa}.profile-row.selected.svelte-1qkzdga{background:#e8f4fd;border-left:4px solid #3498db;padding-left:16px}.selected-indicator.svelte-1qkzdga{position:absolute;left:0;top:0;bottom:0;width:4px;background:#3498db}.selected-badge.svelte-1qkzdga{background:#3498db;color:#fff;font-size:10px;padding:2px 6px;border-radius:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.profile-name.svelte-1qkzdga{flex:1;min-width:0;position:relative}.name-text.svelte-1qkzdga{display:flex;align-items:center;gap:6px;font-weight:500;color:#2d3748;cursor:pointer;padding:4px;border-radius:4px;transition:background-color .2s ease;word-break:break-word}.name-text.svelte-1qkzdga:hover{background:#3498db1a}.unsafe-indicator.svelte-1qkzdga{color:#f39c12;font-size:12px}.name-input.svelte-1qkzdga{width:100%;padding:4px 8px;border:2px solid #3498db;border-radius:4px;font-size:14px;font-weight:500;background:#fff;outline:none}.unsafe-name-warning.svelte-1qkzdga{position:absolute;top:100%;left:0;right:0;background:#fff3cd;border:1px solid #ffeaa7;border-radius:4px;padding:6px 8px;font-size:11px;color:#856404;z-index:10;margin-top:2px}.bitmap-indicator.svelte-1qkzdga{background:#f5f5f5;color:#999;font-size:11px;padding:2px 6px;border-radius:3px;font-weight:600;min-width:24px;text-align:center}.bitmap-indicator.has-bitmaps.svelte-1qkzdga{background:#e8f5e8;color:#2d5a3d}.profile-actions.svelte-1qkzdga{display:flex;gap:4px;opacity:.6;transition:opacity .2s ease}.profile-row.svelte-1qkzdga:hover .profile-actions:where(.svelte-1qkzdga){opacity:1}.move-button.svelte-1qkzdga,.remove-button.svelte-1qkzdga,.duplicate-button.svelte-1qkzdga{width:24px;height:24px;border:none;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;font-size:14px}.move-button.svelte-1qkzdga{background:#ecf0f1;color:#34495e}.move-button.svelte-1qkzdga:hover:not(:disabled){background:#bdc3c7;transform:translateY(-1px)}.move-button.svelte-1qkzdga:disabled{background:#f8f9fa;color:#bdc3c7;cursor:not-allowed;transform:none}.remove-button.svelte-1qkzdga{background:#e74c3c;color:#fff}.remove-button.svelte-1qkzdga:hover:not(:disabled){background:#c0392b;transform:translateY(-1px)}.remove-button.svelte-1qkzdga:disabled{background:#ecf0f1;color:#bdc3c7;cursor:not-allowed;transform:none}.duplicate-button.svelte-1qkzdga{background:#9b59b6;color:#fff}.duplicate-button.svelte-1qkzdga:hover:not(:disabled){background:#8e44ad;transform:translateY(-1px)}.duplicate-button.svelte-1qkzdga:disabled{background:#ecf0f1;color:#bdc3c7;cursor:not-allowed;transform:none}.arrow.svelte-1qkzdga{line-height:1;font-weight:700}.remove-icon.svelte-1qkzdga{line-height:1;font-weight:700;font-size:16px}.duplicate-icon.svelte-1qkzdga{line-height:1;font-weight:400;font-size:14px}@media(max-width:768px){.profiles-sidebar.svelte-1qkzdga{width:100%;height:auto;max-height:300px}}.modal-backdrop.svelte-a0mpcw{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content.svelte-a0mpcw{background:#fff;border-radius:8px;box-shadow:0 4px 24px #00000026;padding:24px;max-width:500px;width:90%;max-height:80vh;overflow-y:auto}h2.svelte-a0mpcw{margin:0 0 20px;font-size:1.5rem;color:#333}h3.svelte-a0mpcw{margin:20px 0 12px;font-size:1.1rem;color:#555}.preview-details.svelte-a0mpcw{margin-bottom:20px}.detail-row.svelte-a0mpcw{display:flex;justify-content:space-between;margin-bottom:8px}.label.svelte-a0mpcw{font-weight:600;color:#555}.value.svelte-a0mpcw{color:#333}.warnings-section.svelte-a0mpcw{background:#fff3cd;border:1px solid #ffeaa7;border-radius:4px;padding:12px;margin-bottom:20px}.warnings-section.svelte-a0mpcw h3:where(.svelte-a0mpcw){margin:0 0 8px;color:#856404}.warnings-list.svelte-a0mpcw{margin:0;padding-left:16px;color:#856404}.warnings-list.svelte-a0mpcw li:where(.svelte-a0mpcw){margin-bottom:4px}.profile-list.svelte-a0mpcw{margin-bottom:24px}.profiles.svelte-a0mpcw{list-style:none;margin:0;padding:0}.profile-item.svelte-a0mpcw{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #eee}.profile-item.svelte-a0mpcw:last-child{border-bottom:none}.profile-name.svelte-a0mpcw{font-weight:500;color:#333}.bitmap-indicator.svelte-a0mpcw{font-size:.85rem;color:#999;padding:2px 6px;border-radius:4px;background:#f5f5f5}.bitmap-indicator.has-bitmaps.svelte-a0mpcw{background:#e8f5e8;color:#2d5a3d}.modal-actions.svelte-a0mpcw{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.btn.svelte-a0mpcw{padding:8px 16px;border-radius:4px;font-size:.9rem;font-weight:500;cursor:pointer;border:1px solid;transition:background-color .2s,border-color .2s}.btn-secondary.svelte-a0mpcw{background:#fff;color:#666;border-color:#ddd}.btn-secondary.svelte-a0mpcw:hover{background:#f8f9fa;border-color:#adb5bd}.btn-primary.svelte-a0mpcw{background:#06c;color:#fff;border-color:#06c}.btn-primary.svelte-a0mpcw:hover{background:#0052a3;border-color:#0052a3}.modal-backdrop.svelte-wss6ba{position:fixed;inset:0;background:#0009;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}.modal.svelte-wss6ba{background:#fff;border-radius:12px;padding:32px;max-width:540px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 40px #00000026;position:relative}.close-button.svelte-wss6ba{position:absolute;top:16px;right:16px;background:none;border:none;font-size:24px;cursor:pointer;color:#718096;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.close-button.svelte-wss6ba:hover{background:#f7fafc;color:#4a5568}h2.svelte-wss6ba{margin:0 0 24px;color:#2d3748;font-size:24px;font-weight:600;padding-right:40px}.credit-section.svelte-wss6ba{margin-bottom:24px;padding:16px;background:#f7fafc;border-radius:8px;border-left:4px solid #3182ce}.credit-section.svelte-wss6ba p:where(.svelte-wss6ba){margin:0 0 8px;color:#4a5568;font-size:14px}.github-link.svelte-wss6ba{color:#3182ce;text-decoration:none;font-weight:500;font-size:14px}.github-link.svelte-wss6ba:hover{text-decoration:underline}.how-it-works.svelte-wss6ba{margin-bottom:24px}.how-it-works.svelte-wss6ba h3:where(.svelte-wss6ba){margin:0 0 12px;color:#2d3748;font-size:16px;font-weight:600}.how-it-works.svelte-wss6ba ul:where(.svelte-wss6ba){margin:0;padding-left:20px;color:#4a5568;line-height:1.6}.how-it-works.svelte-wss6ba li:where(.svelte-wss6ba){margin-bottom:6px;font-size:14px}.technical-note.svelte-wss6ba{margin-bottom:24px;padding:12px 16px;background:#fffbf0;border-radius:6px;border:1px solid #fbd38d}.technical-note.svelte-wss6ba p:where(.svelte-wss6ba){margin:0;color:#744210;font-size:13px;font-style:italic}.technical-note.svelte-wss6ba code:where(.svelte-wss6ba){background:#7442101a;padding:2px 4px;border-radius:3px;font-family:Monaco,Menlo,monospace;font-size:12px}.support-section.svelte-wss6ba{margin-bottom:32px;padding:16px;background:#f0fff4;border-radius:8px;border-left:4px solid #48bb78;text-align:center}.support-section.svelte-wss6ba p:where(.svelte-wss6ba){margin:0 0 12px;color:#2f855a;font-size:14px}.coffee-link.svelte-wss6ba{color:#2f855a;text-decoration:none;font-weight:500;font-size:14px}.coffee-link.svelte-wss6ba:hover{text-decoration:underline}.modal-controls.svelte-wss6ba{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #e2e8f0;padding-top:24px}.checkbox-label.svelte-wss6ba{display:flex;align-items:center;gap:8px;color:#718096;font-size:14px;cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-label.svelte-wss6ba input[type=checkbox]:where(.svelte-wss6ba){margin:0;cursor:pointer}.primary-button.svelte-wss6ba{background:#3182ce;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:14px;min-width:100px}.primary-button.svelte-wss6ba:hover{background:#2c5aa0;transform:translateY(-1px)}.primary-button.svelte-wss6ba:focus{outline:2px solid #63b3ed;outline-offset:2px}@media(max-width:600px){.modal.svelte-wss6ba{margin:10px;padding:24px}h2.svelte-wss6ba{font-size:20px;padding-right:35px}.modal-controls.svelte-wss6ba{flex-direction:column;align-items:stretch;gap:12px}.checkbox-label.svelte-wss6ba{justify-content:center}}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f8f9fa;color:#333}.container.svelte-1uha8ag{max-width:none;margin:0;padding:0;min-height:100vh;display:flex;flex-direction:column}.import-export-header.svelte-1uha8ag{background:#fff;border-bottom:2px solid #e2e8f0;flex-shrink:0;box-shadow:0 2px 4px #0000001a}.header-content.svelte-1uha8ag{display:flex;justify-content:space-between;align-items:center;padding:20px;max-width:1400px;margin:0 auto;gap:20px}.title-section.svelte-1uha8ag{flex:1}.title-section.svelte-1uha8ag h1:where(.svelte-1uha8ag){margin:0 0 5px;font-size:1.8rem;color:#2d3748;font-weight:700}.title-section.svelte-1uha8ag p:where(.svelte-1uha8ag){margin:0;font-size:.9rem;color:#718096}h1.svelte-1uha8ag{margin:0;font-size:1.8rem;color:#2c3e50;font-weight:700;display:flex;align-items:center;gap:8px}.dirty-indicator.svelte-1uha8ag{color:#e74c3c;font-size:1.2rem;animation:svelte-1uha8ag-pulse 2s infinite}@keyframes svelte-1uha8ag-pulse{0%,to{opacity:1}50%{opacity:.5}}.import-export-controls.svelte-1uha8ag{display:flex;gap:16px;align-items:center}.import-group.svelte-1uha8ag,.export-group.svelte-1uha8ag{display:flex;gap:8px;align-items:center}.import-button.svelte-1uha8ag,.export-button.svelte-1uha8ag{padding:10px 16px;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px;min-width:120px;justify-content:center}.import-button.svelte-1uha8ag{background:linear-gradient(135deg,#3498db,#2980b9);color:#fff;box-shadow:0 2px 4px #3498db4d}.import-button.svelte-1uha8ag:hover{background:linear-gradient(135deg,#2980b9,#1f6ba6);transform:translateY(-1px);box-shadow:0 4px 8px #3498db66}.import-button.secondary.svelte-1uha8ag{background:linear-gradient(135deg,#95a5a6,#7f8c8d);box-shadow:0 2px 4px #95a5a64d}.import-button.secondary.svelte-1uha8ag:hover{background:linear-gradient(135deg,#7f8c8d,#6c7b7b);box-shadow:0 4px 8px #95a5a666}.export-button.svelte-1uha8ag{background:linear-gradient(135deg,#27ae60,#229954);color:#fff;box-shadow:0 2px 4px #27ae604d}.export-button.svelte-1uha8ag:hover{background:linear-gradient(135deg,#229954,#1e7e34);transform:translateY(-1px);box-shadow:0 4px 8px #27ae6066}.export-button.secondary.svelte-1uha8ag{background:linear-gradient(135deg,#8e44ad,#7d3c98);box-shadow:0 2px 4px #8e44ad4d}.export-button.secondary.svelte-1uha8ag:hover{background:linear-gradient(135deg,#7d3c98,#6c3483);box-shadow:0 4px 8px #8e44ad66}.status-area.svelte-1uha8ag{padding:12px 20px;margin:0;border-top:1px solid #e2e8f0;animation:svelte-1uha8ag-slideDown .3s ease}.status-success.svelte-1uha8ag{background:#d4edda;color:#155724;border-left:4px solid #28a745}.status-error.svelte-1uha8ag{background:#f8d7da;color:#721c24;border-left:4px solid #dc3545}.status-warning.svelte-1uha8ag{background:#fff3cd;color:#856404;border-left:4px solid #ffc107}.status-content.svelte-1uha8ag{display:flex;justify-content:space-between;align-items:center;gap:12px}.status-message.svelte-1uha8ag{font-weight:600;flex:1}.status-close.svelte-1uha8ag{background:none;border:none;font-size:18px;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s ease;color:inherit}.status-close.svelte-1uha8ag:hover{background-color:#0000001a}.status-details.svelte-1uha8ag{margin-top:8px;font-size:13px;opacity:.9}.status-detail.svelte-1uha8ag{margin:2px 0}@keyframes svelte-1uha8ag-slideDown{0%{max-height:0;opacity:0}to{max-height:200px;opacity:1}}header.svelte-1uha8ag h1:where(.svelte-1uha8ag){margin:0 0 10px;font-size:2.5rem;color:#333;font-weight:700}header.svelte-1uha8ag p:where(.svelte-1uha8ag){margin:0;font-size:1.1rem;color:#666}.content.svelte-1uha8ag{display:grid;grid-template-columns:auto 1fr 1fr;gap:0;align-items:start;height:100vh}.macropad-section.svelte-1uha8ag,.config-section.svelte-1uha8ag{padding:20px;height:100vh;overflow-y:auto}.macropad-section.svelte-1uha8ag h2:where(.svelte-1uha8ag),.config-section.svelte-1uha8ag h2:where(.svelte-1uha8ag){margin:0 0 20px;font-size:1.5rem;color:#333;text-align:center}@media(max-width:768px){.header-content.svelte-1uha8ag{flex-direction:column;align-items:stretch;gap:16px;padding:16px}.title-section.svelte-1uha8ag{text-align:center}.title-section.svelte-1uha8ag h1:where(.svelte-1uha8ag){font-size:1.6rem}.import-export-controls.svelte-1uha8ag{justify-content:center;flex-wrap:wrap}.import-button.svelte-1uha8ag,.export-button.svelte-1uha8ag{min-width:120px;font-size:13px;padding:8px 12px}.content.svelte-1uha8ag{grid-template-columns:1fr;grid-template-rows:auto auto 1fr;height:auto}.macropad-section.svelte-1uha8ag,.config-section.svelte-1uha8ag{height:auto;padding:15px}}@media(max-width:480px){.title-section.svelte-1uha8ag h1:where(.svelte-1uha8ag){font-size:1.5rem}.title-section.svelte-1uha8ag p:where(.svelte-1uha8ag){font-size:.85rem}.import-export-controls.svelte-1uha8ag{flex-direction:column}.import-button.svelte-1uha8ag,.export-button.svelte-1uha8ag{width:100%;min-width:auto}}
