@import"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Outfit:wght@400;500;600;700&display=swap";*{margin:0;padding:0;box-sizing:border-box}html,body,#app{height:100%;width:100%;overflow:hidden}body{font-family:var(--font-ui);font-size:14px;line-height:1.5;background-color:var(--bg-deep);color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{font-weight:600;letter-spacing:-.01em}.mono{font-family:var(--font-mono)}button{cursor:pointer;font-family:var(--font-ui);font-size:13px;font-weight:500;border:none;border-radius:var(--radius-md);padding:8px 16px;background-color:var(--button-bg);color:var(--text-primary);transition:all var(--transition-normal);position:relative;overflow:hidden}button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(255,255,255,.05) 0%,transparent 100%);pointer-events:none}button:hover:not(:disabled){background-color:var(--button-hover);transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(0);background-color:var(--button-active)}button:disabled{opacity:.4;cursor:not-allowed;transform:none}button.primary{background:linear-gradient(135deg,var(--accent-primary) 0%,#0099cc 100%);color:#000;font-weight:600;box-shadow:0 2px 8px var(--accent-primary-glow)}button.primary:hover:not(:disabled){box-shadow:0 4px 16px var(--accent-primary-glow);filter:brightness(1.1)}button.danger{background:linear-gradient(135deg,var(--color-error) 0%,#dc2626 100%);color:#fff}button.success{background:linear-gradient(135deg,var(--color-success) 0%,#16a34a 100%);color:#fff}input,select,textarea{font-family:var(--font-ui);font-size:13px;padding:10px 12px;border:1px solid var(--border-color);border-radius:var(--radius-md);background-color:var(--input-bg);color:var(--text-primary);outline:none;transition:all var(--transition-normal)}input:hover:not(:disabled):not(:focus),select:hover:not(:disabled):not(:focus){border-color:var(--text-muted)}input:focus,select:focus,textarea:focus{border-color:var(--accent-primary);box-shadow:0 0 0 3px var(--accent-primary-dim)}input::placeholder{color:var(--text-muted)}select{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892a8' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px}[data-theme=light] select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M2 4l4 4 4-4'/%3E%3C/svg%3E")}input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:var(--accent-primary);border-radius:var(--radius-sm)}label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--scrollbar-track);border-radius:4px}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:100px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.badge.info{background-color:var(--accent-primary-dim);color:var(--accent-primary)}.badge.warning{background-color:#f59e0b26;color:var(--color-warning)}.badge.error{background-color:#ef444426;color:var(--color-error)}.badge.debug{background-color:#6b728026;color:var(--color-debug)}.badge.success{background-color:#22c55e26;color:var(--color-success)}.card{background-color:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:16px}.card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.card-title{font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:1px}:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px}::selection{background-color:var(--accent-primary-dim);color:var(--text-primary)}:root{--font-ui: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;--font-mono: "JetBrains Mono", "Cascadia Code", "Fira Code", monospace;--bg-deep: #0d0f14;--bg-primary: #12151c;--bg-secondary: #181c26;--bg-tertiary: #1e232f;--bg-elevated: #252b3b;--bg-hover: #2a3142;--text-primary: #e4e8f1;--text-secondary: #8892a8;--text-muted: #5c6578;--text-dim: #3d4556;--accent-primary: #00d4ff;--accent-primary-dim: rgba(0, 212, 255, .15);--accent-primary-glow: rgba(0, 212, 255, .4);--accent-secondary: #a78bfa;--color-info: #3b82f6;--color-warning: #f59e0b;--color-error: #ef4444;--color-success: #22c55e;--color-debug: #6b7280;--terminal-bg: #0a0c10;--terminal-text: #e4e8f1;--terminal-cursor: #00d4ff;--terminal-selection: rgba(0, 212, 255, .2);--border-color: #2a3142;--border-subtle: #1e232f;--border-focus: var(--accent-primary);--surface-glass: rgba(30, 35, 47, .8);--button-bg: #1e232f;--button-hover: #2a3142;--button-active: #353d52;--input-bg: #12151c;--scrollbar-thumb: #3d4556;--scrollbar-track: #12151c;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);--shadow-md: 0 4px 12px rgba(0, 0, 0, .4);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .5);--shadow-glow: 0 0 20px var(--accent-primary-glow);--radius-sm: 4px;--radius-md: 6px;--radius-lg: 10px;--radius-xl: 14px;--transition-fast: .1s ease;--transition-normal: .2s ease;--transition-smooth: .3s cubic-bezier(.4, 0, .2, 1)}[data-theme=dark]{--bg-deep: #0d0f14;--bg-primary: #12151c;--bg-secondary: #181c26;--bg-tertiary: #1e232f;--bg-elevated: #252b3b;--bg-hover: #2a3142;--text-primary: #e4e8f1;--text-secondary: #8892a8;--text-muted: #5c6578;--text-dim: #3d4556;--accent-primary: #00d4ff;--accent-primary-dim: rgba(0, 212, 255, .15);--accent-primary-glow: rgba(0, 212, 255, .4);--terminal-bg: #0a0c10;--terminal-text: #e4e8f1;--terminal-cursor: #00d4ff;--terminal-selection: rgba(0, 212, 255, .2);--border-color: #2a3142;--border-subtle: #1e232f;--input-bg: #12151c;--scrollbar-thumb: #3d4556;--scrollbar-track: #12151c}[data-theme=light]{--bg-deep: #f8fafc;--bg-primary: #f1f5f9;--bg-secondary: #ffffff;--bg-tertiary: #f8fafc;--bg-elevated: #ffffff;--bg-hover: #e2e8f0;--text-primary: #0f172a;--text-secondary: #475569;--text-muted: #94a3b8;--text-dim: #cbd5e1;--accent-primary: #0284c7;--accent-primary-dim: rgba(2, 132, 199, .1);--accent-primary-glow: rgba(2, 132, 199, .3);--accent-secondary: #7c3aed;--color-info: #2563eb;--color-warning: #d97706;--color-error: #dc2626;--color-success: #16a34a;--color-debug: #64748b;--terminal-bg: #ffffff;--terminal-text: #0f172a;--terminal-cursor: #0284c7;--terminal-selection: rgba(2, 132, 199, .15);--border-color: #e2e8f0;--border-subtle: #f1f5f9;--border-focus: var(--accent-primary);--surface-glass: rgba(255, 255, 255, .9);--button-bg: #f1f5f9;--button-hover: #e2e8f0;--button-active: #cbd5e1;--input-bg: #ffffff;--scrollbar-thumb: #cbd5e1;--scrollbar-track: #f1f5f9;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);--shadow-md: 0 4px 12px rgba(0, 0, 0, .08);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .12);--shadow-glow: 0 0 20px var(--accent-primary-glow)}/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.terminal-frame.svelte-1auk3oc{flex:1;display:flex;flex-direction:column;min-height:0;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border-color);background-color:var(--terminal-bg);box-shadow:inset 0 1px #ffffff08,var(--shadow-lg),0 0 60px #00d4ff08;position:relative}.terminal-frame.svelte-1auk3oc:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgba(0,212,255,.02) 1px,transparent 1px),linear-gradient(90deg,rgba(0,212,255,.02) 1px,transparent 1px);background-size:20px 20px;pointer-events:none;z-index:0;opacity:.5}.terminal-wrapper.svelte-1auk3oc{flex:1;display:flex;flex-direction:column;position:relative;min-height:0}.terminal-container.svelte-1auk3oc{flex:1;padding:16px 20px;min-height:0;position:relative;z-index:1}.terminal-container.svelte-1auk3oc .xterm{height:100%}.terminal-container.svelte-1auk3oc .xterm-viewport{overflow-y:auto!important}.terminal-container.svelte-1auk3oc .xterm-viewport::-webkit-scrollbar{width:8px}.terminal-container.svelte-1auk3oc .xterm-viewport::-webkit-scrollbar-track{background:transparent}.terminal-container.svelte-1auk3oc .xterm-viewport::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}.terminal-container.svelte-1auk3oc .xterm-viewport::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.scanline.svelte-1auk3oc{position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(0,0,0,.03) 2px,rgba(0,0,0,.03) 4px);pointer-events:none;opacity:.5}.copy-feedback.svelte-1auk3oc{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:var(--primary-color, #00d4ff);color:var(--terminal-bg, #0a0c10);padding:8px 16px;border-radius:var(--radius-md, 6px);font-size:13px;font-weight:600;pointer-events:none;animation:svelte-1auk3oc-fadeInOut 1.5s ease-in-out;z-index:100}@keyframes svelte-1auk3oc-fadeInOut{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}15%{opacity:1;transform:translate(-50%,-50%) scale(1)}85%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-50%) scale(.9)}}.filter-bar.svelte-1ay4jdu.svelte-1ay4jdu{background:linear-gradient(180deg,var(--bg-secondary) 0%,var(--bg-tertiary) 100%);border-bottom:1px solid var(--border-color);min-height:44px;overflow:visible}.filter-bar-inner.svelte-1ay4jdu.svelte-1ay4jdu{display:flex;align-items:center;min-height:44px;padding:0 16px;gap:12px}.filter-section.svelte-1ay4jdu.svelte-1ay4jdu{display:flex;align-items:center;gap:6px;flex-shrink:0}.spacer.svelte-1ay4jdu.svelte-1ay4jdu{flex:1}.divider.svelte-1ay4jdu.svelte-1ay4jdu{width:1px;height:24px;background:var(--border-color);flex-shrink:0}.controls-fixed.svelte-1ay4jdu.svelte-1ay4jdu{display:flex;align-items:center;gap:12px;flex-shrink:0}.filter-chip.svelte-1ay4jdu.svelte-1ay4jdu{display:flex;align-items:center;gap:6px;padding:6px 10px;background:var(--bg-tertiary);border:1px solid var(--border-subtle);border-radius:100px;cursor:pointer;transition:all .15s ease;white-space:nowrap;flex-shrink:0}.filter-chip.svelte-1ay4jdu.svelte-1ay4jdu:hover{border-color:var(--chip-color);background:#ffffff08}.filter-chip.active.svelte-1ay4jdu.svelte-1ay4jdu{background:color-mix(in srgb,var(--chip-color) 15%,transparent);border-color:var(--chip-color)}.chip-dot.svelte-1ay4jdu.svelte-1ay4jdu{width:6px;height:6px;border-radius:50%;background:var(--text-muted);transition:all .15s ease;flex-shrink:0}.filter-chip.active.svelte-1ay4jdu .chip-dot.svelte-1ay4jdu{background:var(--chip-color);box-shadow:0 0 8px var(--chip-color)}.chip-label.svelte-1ay4jdu.svelte-1ay4jdu{font-size:10px;font-weight:700;color:var(--text-secondary);letter-spacing:.5px}.filter-chip.active.svelte-1ay4jdu .chip-label.svelte-1ay4jdu{color:var(--chip-color)}.sources-dropdown.svelte-1ay4jdu.svelte-1ay4jdu{position:relative;flex-shrink:0}.sources-trigger.svelte-1ay4jdu.svelte-1ay4jdu{display:flex;align-items:center;gap:6px;padding:6px 10px;background:var(--bg-tertiary);border:1px solid var(--border-subtle);border-radius:6px;cursor:pointer;transition:all .15s ease;font-size:11px;font-weight:600;color:var(--text-secondary)}.sources-trigger.svelte-1ay4jdu.svelte-1ay4jdu:hover{border-color:var(--accent-primary);color:var(--text-primary)}.sources-trigger.active.svelte-1ay4jdu.svelte-1ay4jdu{background:var(--accent-primary-dim);border-color:var(--accent-primary);color:var(--accent-primary)}.sources-trigger.has-filter.svelte-1ay4jdu.svelte-1ay4jdu{border-color:var(--color-warning)}.sources-trigger.svelte-1ay4jdu svg.svelte-1ay4jdu{width:14px;height:14px}.sources-trigger.svelte-1ay4jdu .chevron.svelte-1ay4jdu{width:12px;height:12px;transition:transform .2s ease;margin-left:2px}.sources-trigger.svelte-1ay4jdu .chevron.open.svelte-1ay4jdu{transform:rotate(180deg)}.source-badge.svelte-1ay4jdu.svelte-1ay4jdu{background:var(--color-warning);color:#000;font-size:9px;font-weight:700;padding:2px 5px;border-radius:10px;margin-left:2px}.sources-menu.svelte-1ay4jdu.svelte-1ay4jdu{position:absolute;top:100%;left:0;margin-top:6px;min-width:220px;max-height:320px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:10px;box-shadow:var(--shadow-lg);z-index:100;animation:svelte-1ay4jdu-dropdownOpen .15s ease;overflow:hidden;display:flex;flex-direction:column}@keyframes svelte-1ay4jdu-dropdownOpen{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.sources-header.svelte-1ay4jdu.svelte-1ay4jdu{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--border-subtle);background:var(--bg-tertiary)}.sources-title.svelte-1ay4jdu.svelte-1ay4jdu{font-size:11px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.sources-actions.svelte-1ay4jdu.svelte-1ay4jdu{display:flex;align-items:center;gap:6px}.link-btn.svelte-1ay4jdu.svelte-1ay4jdu{background:none;border:none;padding:2px 6px;font-size:11px;font-weight:600;color:var(--accent-primary);cursor:pointer;border-radius:4px;transition:background .1s ease}.link-btn.svelte-1ay4jdu.svelte-1ay4jdu:hover{background:var(--accent-primary-dim)}.action-divider.svelte-1ay4jdu.svelte-1ay4jdu{color:var(--text-dim);font-size:10px}.sources-list.svelte-1ay4jdu.svelte-1ay4jdu{overflow-y:auto;padding:6px;max-height:260px}.source-item.svelte-1ay4jdu.svelte-1ay4jdu{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;cursor:pointer;transition:background .1s ease}.source-item.svelte-1ay4jdu.svelte-1ay4jdu:hover{background:var(--bg-tertiary)}.source-item.active.svelte-1ay4jdu.svelte-1ay4jdu{background:var(--accent-primary-dim)}.source-item.svelte-1ay4jdu input.svelte-1ay4jdu{display:none}.checkmark.svelte-1ay4jdu.svelte-1ay4jdu{width:16px;height:16px;border:2px solid var(--border-color);border-radius:4px;transition:all .15s ease;flex-shrink:0;position:relative}.source-item.active.svelte-1ay4jdu .checkmark.svelte-1ay4jdu{background:var(--accent-primary);border-color:var(--accent-primary)}.source-item.active.svelte-1ay4jdu .checkmark.svelte-1ay4jdu:after{content:"";position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid #000;border-width:0 2px 2px 0;transform:rotate(45deg)}.source-name.svelte-1ay4jdu.svelte-1ay4jdu{font-size:12px;font-family:var(--font-mono);font-weight:500;color:var(--text-secondary)}.source-item.active.svelte-1ay4jdu .source-name.svelte-1ay4jdu{color:var(--accent-primary)}.toggle-chip.svelte-1ay4jdu.svelte-1ay4jdu{padding:6px 10px;background:var(--bg-tertiary);border:1px solid var(--border-subtle);border-radius:6px;font-size:10px;font-weight:700;color:var(--text-muted);letter-spacing:.5px;cursor:pointer;transition:all .15s ease;white-space:nowrap;flex-shrink:0}.toggle-chip.svelte-1ay4jdu.svelte-1ay4jdu:hover{color:var(--text-secondary);border-color:var(--border-color)}.toggle-chip.active.svelte-1ay4jdu.svelte-1ay4jdu{background:var(--accent-primary-dim);border-color:var(--accent-primary);color:var(--accent-primary);box-shadow:inset 0 0 0 1px var(--accent-primary)}.clear-btn.svelte-1ay4jdu.svelte-1ay4jdu{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:var(--bg-tertiary);border:1px solid var(--border-subtle);border-radius:6px;color:var(--text-muted);cursor:pointer;transition:all .15s ease;flex-shrink:0}.clear-btn.svelte-1ay4jdu.svelte-1ay4jdu:hover{color:var(--color-error);border-color:var(--color-error);background:#ef44441a}.clear-btn.svelte-1ay4jdu svg.svelte-1ay4jdu{width:16px;height:16px}@media (max-width: 700px){.filter-bar-inner.svelte-1ay4jdu.svelte-1ay4jdu{padding:0 12px;gap:8px}.levels.svelte-1ay4jdu.svelte-1ay4jdu{overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.levels.svelte-1ay4jdu.svelte-1ay4jdu::-webkit-scrollbar{display:none}}@media (max-width: 500px){.filter-bar-inner.svelte-1ay4jdu.svelte-1ay4jdu{flex-wrap:wrap;padding:8px 12px}.spacer.svelte-1ay4jdu.svelte-1ay4jdu{display:none}.controls-fixed.svelte-1ay4jdu.svelte-1ay4jdu{width:100%;justify-content:flex-end;padding-top:8px;border-top:1px solid var(--border-subtle);margin-top:4px}}.command-bar.svelte-17zlzwv.svelte-17zlzwv{display:flex;gap:12px;padding:12px 16px;background-color:var(--bg-secondary);border-radius:var(--radius-lg);border:1px solid var(--border-color)}.input-group.svelte-17zlzwv.svelte-17zlzwv{flex:1;display:flex;align-items:center;gap:8px;background-color:var(--input-bg);border:1px solid var(--border-color);border-radius:var(--radius-md);padding:0 12px;transition:all var(--transition-normal)}.input-group.svelte-17zlzwv.svelte-17zlzwv:focus-within{border-color:var(--accent-primary);box-shadow:0 0 0 3px var(--accent-primary-dim),0 0 20px #00d4ff26}.prompt.svelte-17zlzwv.svelte-17zlzwv{display:flex;align-items:center;color:var(--accent-primary)}.prompt.svelte-17zlzwv svg.svelte-17zlzwv{width:16px;height:16px}input.svelte-17zlzwv.svelte-17zlzwv{flex:1;border:none;background:transparent;padding:10px 0;font-family:var(--font-mono);font-size:13px}input.svelte-17zlzwv.svelte-17zlzwv:focus{outline:none;box-shadow:none}input.svelte-17zlzwv.svelte-17zlzwv::placeholder{color:var(--text-muted);font-family:var(--font-ui)}.line-ending.svelte-17zlzwv.svelte-17zlzwv{display:flex;align-items:center;gap:6px;padding-left:12px;border-left:1px solid var(--border-color)}.le-label.svelte-17zlzwv.svelte-17zlzwv{font-size:10px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.line-ending.svelte-17zlzwv select.svelte-17zlzwv{padding:4px 8px;font-size:11px;font-family:var(--font-mono);min-width:60px;border:none;background-color:var(--bg-tertiary)}.send-btn.svelte-17zlzwv.svelte-17zlzwv{display:flex;align-items:center;gap:8px;padding:10px 24px;font-weight:700;white-space:nowrap;text-transform:uppercase;letter-spacing:.5px;font-size:12px;background:linear-gradient(135deg,var(--accent-primary) 0%,#0099cc 100%);border:none;color:#000;border-radius:var(--radius-md);cursor:pointer;transition:all .15s ease}.send-btn.svelte-17zlzwv.svelte-17zlzwv:hover:not(:disabled){filter:brightness(1.1);box-shadow:0 4px 16px #00d4ff66}.send-btn.svelte-17zlzwv.svelte-17zlzwv:disabled{opacity:.5;cursor:not-allowed;background:var(--bg-tertiary);color:var(--text-muted)}.send-btn.svelte-17zlzwv svg.svelte-17zlzwv{width:16px;height:16px}.input-group.svelte-17zlzwv:focus-within .prompt svg.svelte-17zlzwv{animation:svelte-17zlzwv-promptPulse 2s ease-in-out infinite}@keyframes svelte-17zlzwv-promptPulse{0%,to{opacity:1}50%{opacity:.5}}.status-bar.svelte-101xuu2.svelte-101xuu2{display:flex;align-items:center;justify-content:space-between;padding:6px 16px;background:var(--bg-deep);border-top:1px solid var(--border-color);min-height:32px}.status-left.svelte-101xuu2.svelte-101xuu2,.status-right.svelte-101xuu2.svelte-101xuu2{display:flex;align-items:center;gap:12px}.status-item.svelte-101xuu2.svelte-101xuu2{display:flex;align-items:center;gap:6px}.status-divider.svelte-101xuu2.svelte-101xuu2{width:1px;height:14px;background:var(--border-color)}.status-dot.svelte-101xuu2.svelte-101xuu2{width:6px;height:6px;border-radius:50%;background:var(--color-error);transition:all .2s ease}.connection.connected.svelte-101xuu2 .status-dot.svelte-101xuu2{background:var(--color-success);box-shadow:0 0 6px var(--color-success)}.status-label.svelte-101xuu2.svelte-101xuu2{font-size:10px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.3px}.status-value.svelte-101xuu2.svelte-101xuu2{font-size:11px;font-family:var(--font-mono);font-weight:600;color:var(--text-secondary)}.status-text.svelte-101xuu2.svelte-101xuu2{font-size:11px;font-weight:500;color:var(--text-secondary)}.connection.svelte-101xuu2 .status-text.svelte-101xuu2{font-family:var(--font-mono)}.version.svelte-101xuu2 .status-text.svelte-101xuu2{color:var(--text-muted);font-size:10px}.macro-dropdown.svelte-101xuu2.svelte-101xuu2{position:relative}.macro-trigger.svelte-101xuu2.svelte-101xuu2{display:flex;align-items:center;gap:6px;padding:4px 10px;background:var(--bg-tertiary);border:1px solid var(--border-subtle);border-radius:6px;font-size:11px;font-weight:600;color:var(--text-secondary);cursor:pointer;transition:all .15s ease}.macro-trigger.svelte-101xuu2.svelte-101xuu2:hover:not(:disabled){border-color:var(--accent-primary);color:var(--accent-primary)}.macro-trigger.active.svelte-101xuu2.svelte-101xuu2{background:var(--accent-primary-dim);border-color:var(--accent-primary);color:var(--accent-primary)}.macro-trigger.svelte-101xuu2.svelte-101xuu2:disabled{opacity:.5;cursor:not-allowed}.macro-trigger.svelte-101xuu2 svg.svelte-101xuu2{width:14px;height:14px}.macro-trigger.svelte-101xuu2 .chevron.svelte-101xuu2{width:12px;height:12px;transition:transform .2s ease}.macro-trigger.svelte-101xuu2 .chevron.open.svelte-101xuu2{transform:rotate(180deg)}.macro-menu.svelte-101xuu2.svelte-101xuu2{position:absolute;bottom:100%;left:0;margin-bottom:4px;min-width:200px;max-height:300px;overflow-y:auto;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;box-shadow:var(--shadow-lg);z-index:100;animation:svelte-101xuu2-slideUp .15s ease}@keyframes svelte-101xuu2-slideUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.macro-item.svelte-101xuu2.svelte-101xuu2{display:flex;flex-direction:column;gap:2px;width:100%;padding:10px 12px;background:transparent;border:none;border-bottom:1px solid var(--border-subtle);text-align:left;cursor:pointer;transition:background .1s ease}.macro-item.svelte-101xuu2.svelte-101xuu2:last-child{border-bottom:none}.macro-item.svelte-101xuu2.svelte-101xuu2:hover{background:var(--bg-tertiary)}.macro-name.svelte-101xuu2.svelte-101xuu2{font-size:12px;font-weight:600;color:var(--text-primary)}.macro-command.svelte-101xuu2.svelte-101xuu2{font-size:10px;font-family:var(--font-mono);color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theme-toggle.svelte-1psa933.svelte-1psa933{background:none;border:none;padding:0;cursor:pointer;border-radius:var(--radius-xl);transition:transform var(--transition-fast)}.theme-toggle.svelte-1psa933.svelte-1psa933:hover{transform:scale(1.05)}.theme-toggle.svelte-1psa933.svelte-1psa933:active{transform:scale(.98)}.toggle-track.svelte-1psa933.svelte-1psa933{position:relative;width:52px;height:28px;background:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:14px;display:flex;align-items:center;justify-content:space-between;padding:0 6px;transition:all var(--transition-smooth)}.toggle-track.dark.svelte-1psa933.svelte-1psa933{background:linear-gradient(135deg,#1e3a5f,#0f172a);border-color:var(--accent-primary)}.toggle-track.svelte-1psa933.svelte-1psa933:not(.dark){background:linear-gradient(135deg,#fef3c7,#fde68a);border-color:#f59e0b}.icon.svelte-1psa933.svelte-1psa933{width:14px;height:14px;color:var(--text-muted);transition:all var(--transition-smooth);z-index:1;opacity:.4}.icon.active.svelte-1psa933.svelte-1psa933{opacity:1}.icon.svelte-1psa933 svg.svelte-1psa933{width:100%;height:100%}.icon.sun.svelte-1psa933.svelte-1psa933{color:#f59e0b}.icon.moon.svelte-1psa933.svelte-1psa933{color:var(--accent-primary)}.toggle-thumb.svelte-1psa933.svelte-1psa933{position:absolute;width:20px;height:20px;background:#fff;border-radius:50%;left:4px;transition:all var(--transition-smooth);box-shadow:0 1px 3px #0003,0 0 0 1px #0000000d}.toggle-thumb.dark.svelte-1psa933.svelte-1psa933{transform:translate(24px);background:linear-gradient(135deg,var(--accent-primary) 0%,#0099cc 100%);box-shadow:0 1px 3px #0000004d,0 0 8px var(--accent-primary-glow)}.drawer-backdrop.svelte-hlw5hb.svelte-hlw5hb{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;animation:svelte-hlw5hb-fadeIn .2s ease}@keyframes svelte-hlw5hb-fadeIn{0%{opacity:0}to{opacity:1}}.drawer.svelte-hlw5hb.svelte-hlw5hb{position:fixed;top:0;right:0;bottom:0;width:380px;max-width:90vw;background:var(--bg-primary);border-left:1px solid var(--border-color);display:flex;flex-direction:column;transform:translate(100%);animation:svelte-hlw5hb-slideIn .25s ease forwards;box-shadow:-10px 0 40px #0000004d}@keyframes svelte-hlw5hb-slideIn{to{transform:translate(0)}}.drawer-header.svelte-hlw5hb.svelte-hlw5hb{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border-color);background:var(--bg-secondary)}.drawer-header.svelte-hlw5hb h2.svelte-hlw5hb{margin:0;font-size:16px;font-weight:700;color:var(--text-primary)}.close-btn.svelte-hlw5hb.svelte-hlw5hb{width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:6px;color:var(--text-muted);cursor:pointer;transition:all .15s ease}.close-btn.svelte-hlw5hb.svelte-hlw5hb:hover{background:var(--bg-tertiary);color:var(--text-primary)}.close-btn.svelte-hlw5hb svg.svelte-hlw5hb{width:18px;height:18px}.drawer-tabs.svelte-hlw5hb.svelte-hlw5hb{display:flex;padding:8px 12px;gap:4px;background:var(--bg-secondary);border-bottom:1px solid var(--border-color)}.tab.svelte-hlw5hb.svelte-hlw5hb{flex:1;padding:10px 12px;background:transparent;border:none;border-radius:6px;font-size:12px;font-weight:600;color:var(--text-muted);cursor:pointer;transition:all .15s ease}.tab.svelte-hlw5hb.svelte-hlw5hb:hover{color:var(--text-secondary);background:var(--bg-tertiary)}.tab.active.svelte-hlw5hb.svelte-hlw5hb{background:var(--accent-primary-dim);color:var(--accent-primary)}.drawer-content.svelte-hlw5hb.svelte-hlw5hb{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:16px}.section.svelte-hlw5hb.svelte-hlw5hb{background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:10px;padding:14px}.section-header.svelte-hlw5hb.svelte-hlw5hb{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-title.svelte-hlw5hb.svelte-hlw5hb{font-size:11px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.8px}.text-btn.svelte-hlw5hb.svelte-hlw5hb{background:none;border:none;padding:4px 8px;font-size:11px;font-weight:600;color:var(--accent-primary);cursor:pointer;border-radius:4px;transition:background .15s ease}.text-btn.svelte-hlw5hb.svelte-hlw5hb:hover{background:var(--accent-primary-dim)}.port-row.svelte-hlw5hb.svelte-hlw5hb{display:flex;gap:8px;margin-bottom:12px}.port-row.svelte-hlw5hb select.svelte-hlw5hb{flex:1}.icon-btn.svelte-hlw5hb.svelte-hlw5hb{width:38px;height:38px;padding:0;display:flex;align-items:center;justify-content:center;background:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:6px;color:var(--text-secondary);cursor:pointer;transition:all .15s ease}.icon-btn.svelte-hlw5hb.svelte-hlw5hb:hover:not(:disabled){border-color:var(--accent-primary);color:var(--accent-primary)}.icon-btn.svelte-hlw5hb.svelte-hlw5hb:disabled{opacity:.5;cursor:not-allowed}.icon-btn.svelte-hlw5hb svg.svelte-hlw5hb{width:16px;height:16px}.connect-row.svelte-hlw5hb.svelte-hlw5hb{display:flex}.action-btn.svelte-hlw5hb.svelte-hlw5hb{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;font-weight:600;font-size:13px;border-radius:6px;cursor:pointer;transition:all .15s ease}.action-btn.svelte-hlw5hb svg.svelte-hlw5hb{width:16px;height:16px}.action-btn.primary.svelte-hlw5hb.svelte-hlw5hb{background:linear-gradient(135deg,var(--accent-primary) 0%,#0099cc 100%);border:none;color:#000}.action-btn.primary.svelte-hlw5hb.svelte-hlw5hb:hover:not(:disabled){filter:brightness(1.1);box-shadow:0 4px 12px #00d4ff4d}.action-btn.primary.svelte-hlw5hb.svelte-hlw5hb:disabled{opacity:.5;cursor:not-allowed}.action-btn.danger.svelte-hlw5hb.svelte-hlw5hb{background:linear-gradient(135deg,var(--color-error) 0%,#dc2626 100%);border:none;color:#fff}.action-btn.danger.svelte-hlw5hb.svelte-hlw5hb:hover{filter:brightness(1.1);box-shadow:0 4px 12px #ef44444d}.action-btn.secondary.svelte-hlw5hb.svelte-hlw5hb{background:var(--bg-tertiary);border:1px solid var(--border-color);color:var(--text-primary)}.action-btn.secondary.svelte-hlw5hb.svelte-hlw5hb:hover{border-color:var(--accent-primary);background:var(--accent-primary-dim)}.field.svelte-hlw5hb.svelte-hlw5hb{margin-bottom:12px}.field.svelte-hlw5hb.svelte-hlw5hb:last-child{margin-bottom:0}.field.svelte-hlw5hb label.svelte-hlw5hb{display:block;font-size:11px;font-weight:500;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.3px;margin-bottom:6px}.field.svelte-hlw5hb select.svelte-hlw5hb{width:100%}.field-grid.svelte-hlw5hb.svelte-hlw5hb{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-grid.svelte-hlw5hb .field.svelte-hlw5hb{margin-bottom:0}.toggle-row.svelte-hlw5hb.svelte-hlw5hb{display:flex;gap:20px}.toggle-item.svelte-hlw5hb.svelte-hlw5hb{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;font-weight:500;color:var(--text-primary)}.toggle-item.svelte-hlw5hb+.toggle-item.svelte-hlw5hb{margin-top:0}.profile-list.svelte-hlw5hb.svelte-hlw5hb,.macro-list.svelte-hlw5hb.svelte-hlw5hb{display:flex;flex-direction:column;gap:6px}.profile-item.svelte-hlw5hb.svelte-hlw5hb{display:flex;align-items:center;gap:8px}.profile-name.svelte-hlw5hb.svelte-hlw5hb{flex:1;padding:8px 12px;background:var(--bg-tertiary);border:1px solid var(--border-subtle);border-radius:6px;font-size:13px;font-weight:500;color:var(--text-primary);text-align:left;cursor:pointer;transition:all .15s ease}.profile-name.svelte-hlw5hb.svelte-hlw5hb:hover{border-color:var(--accent-primary);background:var(--accent-primary-dim)}.delete-btn.svelte-hlw5hb.svelte-hlw5hb{width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid transparent;border-radius:6px;color:var(--text-muted);cursor:pointer;transition:all .15s ease}.delete-btn.svelte-hlw5hb.svelte-hlw5hb:hover{color:var(--color-error);border-color:var(--color-error);background:#ef44441a}.delete-btn.svelte-hlw5hb svg.svelte-hlw5hb{width:14px;height:14px}.macro-item.svelte-hlw5hb.svelte-hlw5hb{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:var(--bg-tertiary);border-radius:6px}.macro-name.svelte-hlw5hb.svelte-hlw5hb{font-size:13px;font-weight:600;color:var(--text-primary)}.macro-cmd.svelte-hlw5hb.svelte-hlw5hb{font-size:11px;font-family:var(--font-mono);color:var(--text-muted)}.empty-text.svelte-hlw5hb.svelte-hlw5hb{font-size:12px;color:var(--text-muted);text-align:center;padding:12px;margin:0}.theme-row.svelte-hlw5hb.svelte-hlw5hb{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--text-primary)}.button-stack.svelte-hlw5hb.svelte-hlw5hb{display:flex;flex-direction:column;gap:8px}.about-content.svelte-hlw5hb.svelte-hlw5hb{font-size:13px;color:var(--text-primary);line-height:1.6}.about-content.svelte-hlw5hb p.svelte-hlw5hb{margin:0 0 4px}.about-content.svelte-hlw5hb .muted.svelte-hlw5hb{color:var(--text-muted);margin-top:8px}.mono-input.svelte-hlw5hb.svelte-hlw5hb{width:100%;padding:8px 12px;font-family:var(--font-mono);font-size:12px;background:var(--input-bg);border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary);transition:all .15s ease}.mono-input.svelte-hlw5hb.svelte-hlw5hb:focus{outline:none;border-color:var(--accent-primary);box-shadow:0 0 0 3px var(--accent-primary-dim)}.mono-input.svelte-hlw5hb.svelte-hlw5hb::placeholder{color:var(--text-muted)}.help-text.svelte-hlw5hb.svelte-hlw5hb{margin:10px 0 0;font-size:11px;color:var(--text-muted);line-height:1.5}.modal-backdrop.svelte-1yju35a.svelte-1yju35a{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal.svelte-1yju35a.svelte-1yju35a{background-color:var(--bg-primary);border-radius:8px;box-shadow:0 4px 20px #0000004d;width:600px;max-width:90vw;max-height:80vh;display:flex;flex-direction:column}.modal-header.svelte-1yju35a.svelte-1yju35a{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid var(--border-color)}.modal-header.svelte-1yju35a h2.svelte-1yju35a{margin:0;font-size:18px}.close-btn.svelte-1yju35a.svelte-1yju35a{background:none;border:none;font-size:24px;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-secondary)}.close-btn.svelte-1yju35a.svelte-1yju35a:hover{color:var(--text-primary)}.modal-body.svelte-1yju35a.svelte-1yju35a{display:flex;flex:1;min-height:300px;overflow:hidden}.macro-list.svelte-1yju35a.svelte-1yju35a{width:200px;border-right:1px solid var(--border-color);display:flex;flex-direction:column}.list-header.svelte-1yju35a.svelte-1yju35a{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid var(--border-color);font-weight:500}.small-btn.svelte-1yju35a.svelte-1yju35a{padding:4px 8px;font-size:12px}.list-items.svelte-1yju35a.svelte-1yju35a{flex:1;overflow-y:auto}.list-item.svelte-1yju35a.svelte-1yju35a{display:block;width:100%;padding:10px 12px;text-align:left;background:none;border:none;border-radius:0;cursor:pointer;color:var(--text-primary)}.list-item.svelte-1yju35a.svelte-1yju35a:hover{background-color:var(--bg-tertiary)}.list-item.selected.svelte-1yju35a.svelte-1yju35a{background-color:var(--accent-primary);color:#fff}.macro-editor.svelte-1yju35a.svelte-1yju35a{flex:1;padding:16px;display:flex;flex-direction:column}.form-group.svelte-1yju35a.svelte-1yju35a{margin-bottom:16px}.form-group.svelte-1yju35a label.svelte-1yju35a{display:flex;flex-direction:column;gap:4px}.form-group.svelte-1yju35a label span.svelte-1yju35a{font-size:12px;color:var(--text-secondary);font-weight:500}textarea.svelte-1yju35a.svelte-1yju35a{font-family:Cascadia Code,Fira Code,Consolas,monospace;resize:vertical}.hint.svelte-1yju35a.svelte-1yju35a{font-size:12px;color:var(--text-secondary);margin-bottom:16px}.hint.svelte-1yju35a code.svelte-1yju35a{background-color:var(--bg-tertiary);padding:2px 4px;border-radius:3px}.editor-actions.svelte-1yju35a.svelte-1yju35a{display:flex;gap:8px;margin-top:auto}.no-selection.svelte-1yju35a.svelte-1yju35a{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-secondary)}.drawer-backdrop.svelte-69earj.svelte-69earj{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;animation:svelte-69earj-fadeIn .2s ease}@keyframes svelte-69earj-fadeIn{0%{opacity:0}to{opacity:1}}.drawer.svelte-69earj.svelte-69earj{position:fixed;top:0;right:0;bottom:0;width:420px;max-width:90vw;background:var(--bg-primary);border-left:1px solid var(--border-color);display:flex;flex-direction:column;transform:translate(100%);animation:svelte-69earj-slideIn .25s ease forwards;box-shadow:-10px 0 40px #0000004d}@keyframes svelte-69earj-slideIn{to{transform:translate(0)}}.drawer-header.svelte-69earj.svelte-69earj{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border-color);background:linear-gradient(180deg,var(--bg-secondary) 0%,var(--bg-primary) 100%)}.header-title.svelte-69earj.svelte-69earj{display:flex;align-items:center;gap:10px}.header-icon.svelte-69earj.svelte-69earj{width:24px;height:24px;color:var(--accent-primary)}.drawer-header.svelte-69earj h2.svelte-69earj{margin:0;font-size:16px;font-weight:700;color:var(--text-primary)}.protocol-badge.svelte-69earj.svelte-69earj{padding:3px 8px;background:var(--accent-primary-dim);border:1px solid var(--accent-primary);border-radius:4px;font-size:10px;font-weight:700;color:var(--accent-primary);text-transform:uppercase;letter-spacing:.5px}.close-btn.svelte-69earj.svelte-69earj{width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:6px;color:var(--text-muted);cursor:pointer;transition:all .15s ease}.close-btn.svelte-69earj.svelte-69earj:hover{background:var(--bg-tertiary);color:var(--text-primary)}.close-btn.svelte-69earj svg.svelte-69earj{width:18px;height:18px}.drawer-tabs.svelte-69earj.svelte-69earj{display:flex;padding:8px 12px;gap:4px;background:var(--bg-secondary);border-bottom:1px solid var(--border-color)}.tab.svelte-69earj.svelte-69earj{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;background:transparent;border:none;border-radius:6px;font-size:12px;font-weight:600;color:var(--text-muted);cursor:pointer;transition:all .15s ease}.tab.svelte-69earj svg.svelte-69earj{width:16px;height:16px}.tab.svelte-69earj.svelte-69earj:hover{color:var(--text-secondary);background:var(--bg-tertiary)}.tab.active.svelte-69earj.svelte-69earj{background:var(--accent-primary-dim);color:var(--accent-primary)}.drawer-content.svelte-69earj.svelte-69earj{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:16px}.status-banner.svelte-69earj.svelte-69earj{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:8px;font-size:12px;font-weight:600}.status-banner.connected.svelte-69earj.svelte-69earj{background:#22c55e1a;border:1px solid rgba(34,197,94,.3);color:var(--color-success)}.status-banner.disconnected.svelte-69earj.svelte-69earj{background:#ef44441a;border:1px solid rgba(239,68,68,.3);color:var(--color-error)}.status-dot.svelte-69earj.svelte-69earj{width:8px;height:8px;border-radius:50%}.status-banner.connected.svelte-69earj .status-dot.svelte-69earj{background:var(--color-success);box-shadow:0 0 8px var(--color-success)}.status-banner.disconnected.svelte-69earj .status-dot.svelte-69earj{background:var(--color-error)}.section.svelte-69earj.svelte-69earj{background:var(--bg-secondary);border:1px solid var(--border-subtle);border-radius:10px;padding:14px}.section-header.svelte-69earj.svelte-69earj{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.section-title.svelte-69earj.svelte-69earj{font-size:11px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.8px}.section-badge.svelte-69earj.svelte-69earj{font-size:10px;font-family:var(--font-mono);color:var(--text-muted);padding:2px 6px;background:var(--bg-tertiary);border-radius:4px}.section-desc.svelte-69earj.svelte-69earj{margin:0 0 12px;font-size:12px;color:var(--text-secondary);line-height:1.5}.action-btn.svelte-69earj.svelte-69earj{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;font-weight:600;font-size:12px;border-radius:6px;cursor:pointer;transition:all .15s ease;width:100%}.action-btn.svelte-69earj svg.svelte-69earj{width:16px;height:16px}.action-btn.primary.svelte-69earj.svelte-69earj{background:linear-gradient(135deg,var(--accent-primary) 0%,#0099cc 100%);border:none;color:#000}.action-btn.primary.svelte-69earj.svelte-69earj:hover:not(:disabled){filter:brightness(1.1);box-shadow:0 4px 12px #00d4ff4d}.action-btn.primary.svelte-69earj.svelte-69earj:disabled{opacity:.5;cursor:not-allowed}.action-btn.secondary.svelte-69earj.svelte-69earj{background:var(--bg-tertiary);border:1px solid var(--border-color);color:var(--text-primary)}.action-btn.secondary.svelte-69earj.svelte-69earj:hover:not(:disabled){border-color:var(--accent-primary);background:var(--accent-primary-dim)}.action-btn.secondary.svelte-69earj.svelte-69earj:disabled{opacity:.5;cursor:not-allowed}.result-box.svelte-69earj.svelte-69earj{margin-top:12px;padding:10px 14px;background:var(--bg-tertiary);border-radius:6px;display:flex;align-items:center;gap:8px}.result-label.svelte-69earj.svelte-69earj{font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase}.result-value.svelte-69earj.svelte-69earj{font-size:13px;font-family:var(--font-mono);color:var(--color-success);font-weight:600}.input-row.svelte-69earj.svelte-69earj{display:flex;gap:8px;margin-bottom:12px}.datetime-input.svelte-69earj.svelte-69earj{flex:1;padding:10px 14px;font-family:var(--font-mono);font-size:13px;background:var(--input-bg);border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary);transition:all .15s ease}.datetime-input.svelte-69earj.svelte-69earj:focus{outline:none;border-color:var(--accent-primary);box-shadow:0 0 0 3px var(--accent-primary-dim)}.datetime-input.svelte-69earj.svelte-69earj::placeholder{color:var(--text-muted)}.datetime-input.svelte-69earj.svelte-69earj:disabled{opacity:.5;cursor:not-allowed}.icon-btn.svelte-69earj.svelte-69earj{width:40px;height:40px;padding:0;display:flex;align-items:center;justify-content:center;background:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:6px;color:var(--text-secondary);cursor:pointer;transition:all .15s ease}.icon-btn.svelte-69earj.svelte-69earj:hover:not(:disabled){border-color:var(--accent-primary);color:var(--accent-primary);background:var(--accent-primary-dim)}.icon-btn.svelte-69earj.svelte-69earj:disabled{opacity:.5;cursor:not-allowed}.icon-btn.svelte-69earj svg.svelte-69earj{width:18px;height:18px}.button-row.svelte-69earj.svelte-69earj{display:flex;gap:8px}.button-row.svelte-69earj .action-btn.svelte-69earj{flex:1}.spinner.svelte-69earj.svelte-69earj{width:14px;height:14px;border:2px solid transparent;border-top-color:currentColor;border-radius:50%;animation:svelte-69earj-spin .8s linear infinite}@keyframes svelte-69earj-spin{to{transform:rotate(360deg)}}.log-section.svelte-69earj.svelte-69earj{flex:1;display:flex;flex-direction:column;min-height:200px}.log-container.svelte-69earj.svelte-69earj{flex:1;background:var(--bg-deep);border-radius:6px;padding:8px;overflow-y:auto;max-height:300px;font-family:var(--font-mono);font-size:11px}.log-entry.svelte-69earj.svelte-69earj{display:flex;gap:8px;padding:4px 6px;border-radius:4px;margin-bottom:2px}.log-entry.svelte-69earj.svelte-69earj:last-child{margin-bottom:0}.log-entry.sent.svelte-69earj.svelte-69earj{background:#00d4ff1a}.log-entry.received.svelte-69earj.svelte-69earj{background:#22c55e1a}.log-entry.error.svelte-69earj.svelte-69earj{background:#ef44441a}.log-time.svelte-69earj.svelte-69earj{color:var(--text-muted);flex-shrink:0}.log-type.svelte-69earj.svelte-69earj{font-weight:700;flex-shrink:0;width:28px}.log-entry.sent.svelte-69earj .log-type.svelte-69earj{color:var(--accent-primary)}.log-entry.received.svelte-69earj .log-type.svelte-69earj{color:var(--color-success)}.log-entry.error.svelte-69earj .log-type.svelte-69earj{color:var(--color-error)}.log-message.svelte-69earj.svelte-69earj{color:var(--text-primary);word-break:break-all}.empty-text.svelte-69earj.svelte-69earj{font-size:12px;color:var(--text-muted);text-align:center;padding:24px;margin:0}.text-btn.svelte-69earj.svelte-69earj{background:none;border:none;padding:4px 8px;font-size:11px;font-weight:600;color:var(--accent-primary);cursor:pointer;border-radius:4px;transition:background .15s ease}.text-btn.svelte-69earj.svelte-69earj:hover{background:var(--accent-primary-dim)}.info-content.svelte-69earj.svelte-69earj{font-size:12px;color:var(--text-secondary);line-height:1.6}.info-content.svelte-69earj p.svelte-69earj{margin:0 0 12px}.info-content.svelte-69earj h4.svelte-69earj{margin:0 0 8px;font-size:11px;font-weight:700;color:var(--text-primary);text-transform:uppercase;letter-spacing:.5px}.frame-diagram.svelte-69earj.svelte-69earj{display:flex;gap:2px;margin-bottom:8px}.frame-field.svelte-69earj.svelte-69earj{flex:1;padding:8px 4px;background:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:4px;text-align:center;font-size:10px;font-weight:600;color:var(--text-primary);display:flex;flex-direction:column;gap:2px}.frame-field.svelte-69earj span.svelte-69earj{font-size:9px;color:var(--text-muted);font-weight:400}.frame-field.wide.svelte-69earj.svelte-69earj{flex:3}.frame-note.svelte-69earj.svelte-69earj{font-size:10px;color:var(--text-muted);text-align:center;font-style:italic;margin:0}.command-list.svelte-69earj.svelte-69earj{display:flex;flex-direction:column;gap:12px}.command-item.svelte-69earj.svelte-69earj{background:var(--bg-tertiary);border-radius:6px;overflow:hidden}.command-header.svelte-69earj.svelte-69earj{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:var(--bg-deep);border-bottom:1px solid var(--border-subtle)}.command-name.svelte-69earj.svelte-69earj{font-size:12px;font-weight:700;color:var(--text-primary)}.command-id.svelte-69earj.svelte-69earj{font-size:10px;font-family:var(--font-mono);color:var(--text-muted)}.command-body.svelte-69earj.svelte-69earj{padding:10px 12px;display:flex;flex-direction:column;gap:6px}.command-field.svelte-69earj.svelte-69earj{display:flex;gap:8px;align-items:flex-start}.field-label.svelte-69earj.svelte-69earj{font-size:10px;font-weight:600;color:var(--text-muted);text-transform:uppercase;flex-shrink:0;width:60px}.command-field.svelte-69earj code.svelte-69earj{font-size:10px;font-family:var(--font-mono);color:var(--accent-primary);background:var(--bg-deep);padding:2px 6px;border-radius:3px;word-break:break-all}.field-note.svelte-69earj.svelte-69earj{font-size:10px;color:var(--text-muted);font-style:italic}.notes-list.svelte-69earj.svelte-69earj{margin:0;padding-left:20px;font-size:12px;color:var(--text-secondary);line-height:1.8}.notes-list.svelte-69earj li.svelte-69earj{padding-left:4px}.file-row.svelte-69earj.svelte-69earj{display:flex;gap:8px;margin-bottom:12px}.file-btn.svelte-69earj.svelte-69earj{flex:1}.icon-btn.danger.svelte-69earj.svelte-69earj{border-color:var(--color-error);color:var(--color-error)}.icon-btn.danger.svelte-69earj.svelte-69earj:hover{background:#ef44441a}.status-text.svelte-69earj.svelte-69earj{font-size:12px;color:var(--text-secondary);margin-bottom:12px;padding:8px 12px;background:var(--bg-tertiary);border-radius:6px;font-family:var(--font-mono)}.error-text.svelte-69earj.svelte-69earj{font-size:12px;color:var(--color-error);margin-bottom:12px;padding:8px 12px;background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:6px}.progress-container.svelte-69earj.svelte-69earj{display:flex;align-items:center;gap:12px;margin-bottom:12px}.progress-bar.svelte-69earj.svelte-69earj{flex:1;height:8px;background:var(--bg-tertiary);border-radius:4px;overflow:hidden}.progress-fill.svelte-69earj.svelte-69earj{height:100%;background:linear-gradient(90deg,var(--accent-primary) 0%,#0099cc 100%);border-radius:4px;transition:width .3s ease}.progress-text.svelte-69earj.svelte-69earj{font-size:12px;font-weight:700;font-family:var(--font-mono);color:var(--accent-primary);min-width:40px;text-align:right}.program-btn.svelte-69earj.svelte-69earj{margin-bottom:12px}.warning-box.svelte-69earj.svelte-69earj{display:flex;align-items:flex-start;gap:10px;padding:12px;background:#f59e0b1a;border:1px solid rgba(245,158,11,.3);border-radius:6px;font-size:11px;color:var(--color-warning);line-height:1.5}.warning-box.svelte-69earj svg.svelte-69earj{width:16px;height:16px;flex-shrink:0;margin-top:1px}.voltage-result.svelte-69earj.svelte-69earj{display:flex;align-items:center;gap:12px;transition:all .3s ease}.voltage-result.voltage-red.svelte-69earj.svelte-69earj{background:#ef444426;border:1px solid rgba(239,68,68,.4)}.voltage-result.voltage-yellow.svelte-69earj.svelte-69earj{background:#f59e0b26;border:1px solid rgba(245,158,11,.4)}.voltage-result.voltage-green.svelte-69earj.svelte-69earj{background:#22c55e26;border:1px solid rgba(34,197,94,.4)}.voltage-value.svelte-69earj.svelte-69earj{font-size:18px;font-weight:700}.voltage-result.voltage-red.svelte-69earj .voltage-value.svelte-69earj{color:#ef4444}.voltage-result.voltage-yellow.svelte-69earj .voltage-value.svelte-69earj{color:#f59e0b}.voltage-result.voltage-green.svelte-69earj .voltage-value.svelte-69earj{color:#22c55e}.voltage-indicator.svelte-69earj.svelte-69earj{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.voltage-indicator.svelte-69earj svg.svelte-69earj{width:16px;height:16px}.voltage-result.voltage-red.svelte-69earj .voltage-indicator.svelte-69earj{color:#ef4444}.voltage-result.voltage-yellow.svelte-69earj .voltage-indicator.svelte-69earj{color:#f59e0b}.voltage-result.voltage-green.svelte-69earj .voltage-indicator.svelte-69earj{color:#22c55e}.app.svelte-1fgv7ay.svelte-1fgv7ay{height:100vh;display:flex;flex-direction:column;background-color:var(--bg-deep);overflow:hidden}.not-supported.svelte-1fgv7ay.svelte-1fgv7ay{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;background:radial-gradient(circle at 50% 50%,var(--bg-secondary) 0%,var(--bg-deep) 100%)}.warning-icon.svelte-1fgv7ay.svelte-1fgv7ay{font-size:72px;color:var(--color-warning);margin-bottom:24px;filter:drop-shadow(0 0 20px rgba(245,158,11,.3))}.not-supported.svelte-1fgv7ay h1.svelte-1fgv7ay{margin:0 0 16px;font-size:28px;font-weight:700}.not-supported.svelte-1fgv7ay p.svelte-1fgv7ay{color:var(--text-secondary);line-height:1.7;font-size:15px}.header.svelte-1fgv7ay.svelte-1fgv7ay{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:linear-gradient(180deg,var(--bg-secondary) 0%,var(--bg-primary) 100%);border-bottom:1px solid var(--border-color);gap:16px;position:relative}.header.svelte-1fgv7ay.svelte-1fgv7ay:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent 0%,var(--accent-primary) 50%,transparent 100%)}.header-left.svelte-1fgv7ay.svelte-1fgv7ay,.header-center.svelte-1fgv7ay.svelte-1fgv7ay,.header-right.svelte-1fgv7ay.svelte-1fgv7ay{display:flex;align-items:center;gap:12px}.header-left.svelte-1fgv7ay.svelte-1fgv7ay{flex:0 0 auto}.header-center.svelte-1fgv7ay.svelte-1fgv7ay{flex:1;justify-content:center}.header-right.svelte-1fgv7ay.svelte-1fgv7ay{flex:0 0 auto}.brand.svelte-1fgv7ay.svelte-1fgv7ay{display:flex;align-items:center;gap:10px}.brand-icon.svelte-1fgv7ay.svelte-1fgv7ay{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--accent-primary-dim);border-radius:8px;color:var(--accent-primary)}.brand-icon.svelte-1fgv7ay .brand-logo.svelte-1fgv7ay{width:24px;height:24px;object-fit:contain}.brand-name.svelte-1fgv7ay.svelte-1fgv7ay{font-size:14px;font-weight:700;font-family:var(--font-mono);color:var(--text-primary);letter-spacing:-.02em}.brand-web.svelte-1fgv7ay.svelte-1fgv7ay{color:var(--accent-primary);font-weight:800;padding:2px 6px;background:var(--accent-primary-dim);border-radius:4px;font-size:10px;vertical-align:middle;margin-left:2px}.status-badge.svelte-1fgv7ay.svelte-1fgv7ay{display:flex;align-items:center;gap:8px;padding:6px 14px;background:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:100px;transition:all .2s ease}.status-badge.connected.svelte-1fgv7ay.svelte-1fgv7ay{border-color:var(--color-success);background:#22c55e1a}.status-badge.reconnecting.svelte-1fgv7ay.svelte-1fgv7ay{border-color:var(--color-warning);background:#f59e0b1a}.status-dot.svelte-1fgv7ay.svelte-1fgv7ay{width:6px;height:6px;border-radius:50%;background:var(--color-error);transition:all .2s ease}.status-badge.connected.svelte-1fgv7ay .status-dot.svelte-1fgv7ay{background:var(--color-success);box-shadow:0 0 8px var(--color-success)}.status-badge.reconnecting.svelte-1fgv7ay .status-dot.svelte-1fgv7ay{background:var(--color-warning);animation:svelte-1fgv7ay-pulse 1.2s ease-in-out infinite}@keyframes svelte-1fgv7ay-pulse{0%,to{opacity:1}50%{opacity:.5}}.status-text.svelte-1fgv7ay.svelte-1fgv7ay{font-size:12px;font-weight:600;color:var(--text-primary);font-family:var(--font-mono)}.header-btn.svelte-1fgv7ay.svelte-1fgv7ay{width:36px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;background:var(--bg-tertiary);border:1px solid var(--border-subtle);border-radius:8px;color:var(--text-secondary);cursor:pointer;transition:all .15s ease}.header-btn.svelte-1fgv7ay.svelte-1fgv7ay:hover:not(:disabled){border-color:var(--accent-primary);color:var(--accent-primary);background:var(--accent-primary-dim)}.header-btn.svelte-1fgv7ay.svelte-1fgv7ay:disabled{opacity:.5;cursor:not-allowed}.header-btn.svelte-1fgv7ay svg.svelte-1fgv7ay{width:18px;height:18px}.connect-btn.svelte-1fgv7ay.svelte-1fgv7ay{display:flex;align-items:center;gap:8px;padding:8px 16px;font-size:12px;font-weight:700;border-radius:8px;cursor:pointer;transition:all .15s ease;text-transform:uppercase;letter-spacing:.5px}.connect-btn.svelte-1fgv7ay svg.svelte-1fgv7ay{width:16px;height:16px}.connect-btn.primary.svelte-1fgv7ay.svelte-1fgv7ay{background:linear-gradient(135deg,var(--accent-primary) 0%,#0099cc 100%);border:none;color:#000}.connect-btn.primary.svelte-1fgv7ay.svelte-1fgv7ay:hover:not(:disabled){filter:brightness(1.1);box-shadow:0 4px 16px #00d4ff66}.connect-btn.primary.svelte-1fgv7ay.svelte-1fgv7ay:disabled{opacity:.5;cursor:not-allowed}.connect-btn.danger.svelte-1fgv7ay.svelte-1fgv7ay{background:linear-gradient(135deg,var(--color-error) 0%,#dc2626 100%);border:none;color:#fff}.connect-btn.danger.svelte-1fgv7ay.svelte-1fgv7ay:hover{filter:brightness(1.1);box-shadow:0 4px 16px #ef444466}.terminal-area.svelte-1fgv7ay.svelte-1fgv7ay{flex:1;display:flex;flex-direction:column;min-height:0;padding:12px 16px;background:var(--bg-deep)}
