:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#242424;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}a{color:#646cff;-webkit-text-decoration:inherit;text-decoration:inherit;font-weight:500}a:hover{color:#535bf2}body{place-items:center;min-width:320px;min-height:100vh;margin:0;display:flex}h1{font-size:3.2em;line-height:1.1}button{cursor:pointer;background-color:#1a1a1a;border:1px solid #0000;border-radius:8px;padding:.6em 1.2em;font-family:inherit;font-size:1em;font-weight:500;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.app{max-width:800px;margin:0 auto;padding:2rem;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.app-header{text-align:center;margin-bottom:2rem}.app-header h1{color:#333;margin-bottom:.5rem}.app-header p{color:#666;margin:0}.card{background:#fff;border-radius:8px;margin-bottom:1.5rem;padding:1.5rem;box-shadow:0 2px 8px #0000001a}.card h2{color:#333;border-bottom:2px solid #eee;margin-top:0;margin-bottom:1rem;padding-bottom:.5rem}.button-group{flex-wrap:wrap;gap:1rem;display:flex}.btn{cursor:pointer;border:none;border-radius:6px;padding:.75rem 1.5rem;font-size:1rem;transition:all .2s}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{color:#fff;background:#4a90d9}.btn-primary:hover:not(:disabled){background:#357abd}.btn-secondary{color:#fff;background:#6c757d}.btn-secondary:hover:not(:disabled){background:#5a6268}.device-info{background:#e8f5e9;border-radius:6px;margin-top:1rem;padding:1rem}.device-info h3{color:#2e7d32;margin:0 0 .5rem}.device-info p{color:#333;margin:.25rem 0}.error-message{color:#c62828;background:#ffebee;border-radius:6px;margin-top:1rem;padding:1rem}.warning-message{color:#e65100;background:#fff3e0;border-radius:6px;padding:1rem}.subsystem-item{background:#f5f5f5;border-radius:6px;align-items:center;gap:1rem;margin:.5rem 0;padding:.75rem;display:flex}.subsystem-item.active{background:#e3f2fd;border:2px solid #2196f3}.subsystem-index{color:#666;font-weight:700}.subsystem-id{color:#333;font-family:monospace}.badge{color:#fff;background:#4caf50;border-radius:12px;margin-left:auto;padding:.25rem .75rem;font-size:.8rem}.input-group{align-items:center;gap:1rem;margin:1rem 0;display:flex}.input-group label{font-weight:500}.input-group input{border:1px solid #ddd;border-radius:6px;width:150px;padding:.5rem 1rem;font-size:1rem}.response-box{background:#f0f4f8;border:1px solid #ddd;border-radius:6px;margin-top:1rem;padding:1rem}.response-box h3{color:#333;margin:0 0 .5rem;font-size:1rem}.response-box pre{background:#fff;border-radius:4px;margin:0;padding:.5rem;font-family:monospace;overflow-x:auto}.app-footer{text-align:center;color:#666;border-top:1px solid #eee;margin-top:2rem;padding-top:1rem}.app-footer p{margin:0}@media (prefers-color-scheme:dark){.app{color:#fff;background:#1a1a1a}.app-header h1{color:#fff}.app-header p{color:#aaa}.card{background:#2d2d2d;box-shadow:0 2px 8px #0000004d}.card h2{color:#fff;border-bottom-color:#444}.device-info{background:#1b3320}.device-info p{color:#ccc}.error-message{color:#ff8a80;background:#3d1f1f}.warning-message{color:#ffb74d;background:#3d2f1f}.subsystem-item{background:#333}.subsystem-item.active{background:#1a3a5c;border-color:#4a90d9}.subsystem-index{color:#aaa}.subsystem-id{color:#fff}.input-group input{color:#fff;background:#333;border-color:#555}.response-box{background:#333;border-color:#555}.response-box pre{color:#fff;background:#2d2d2d}.app-footer{color:#aaa;border-top-color:#444}}.profile-manager{margin-top:1.5rem}.profiles-list{gap:1rem;margin:1.5rem 0;display:grid}.profile-item{background:#f9f9f9;border:2px solid #e0e0e0;border-radius:8px;padding:1.25rem;transition:all .2s}.profile-item:hover{box-shadow:0 2px 8px #0000001a}.profile-item.active{background:#f1f8f4;border-color:#4caf50}.profile-item.connected{background:#f0f7ff;border-color:#2196f3}.profile-item.empty{opacity:.7;background:#fafafa;border-color:#ccc}.profile-header{border-bottom:1px solid #e0e0e0;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.5rem;display:flex}.profile-header h3{margin:0;font-size:1.1rem}.badge{text-transform:uppercase;border-radius:12px;padding:.25rem .75rem;font-size:.75rem;font-weight:600;display:inline-block}.badge.active{color:#fff;background:#4caf50}.badge.connected{color:#fff;background:#2196f3}.badge.empty{color:#fff;background:#9e9e9e}.profile-info{margin:1rem 0}.profile-info p{margin:.5rem 0;line-height:1.6}.profile-name,.profile-address{align-items:center;gap:.5rem;display:flex}.profile-address code{background:#e0e0e0;border-radius:4px;padding:.2rem .5rem;font-family:Courier New,monospace;font-size:.9em}.edit-name{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.edit-name input{border:1px solid #ccc;border-radius:4px;flex:1;min-width:200px;padding:.5rem;font-size:1rem}.profile-actions{flex-wrap:wrap;gap:.5rem;margin-top:1rem;display:flex}.btn-link{color:#2196f3;cursor:pointer;background:0 0;border:none;padding:.2rem;font-size:.9em;text-decoration:none}.btn-link:hover{opacity:.7}.btn-sm{padding:.4rem .8rem;font-size:.9rem}.text-muted{color:#757575;font-style:italic}.split-manager{margin-top:1.5rem}.split-info{margin:1.5rem 0}.info-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.info-item{background:#f5f5f5;border-left:4px solid #2196f3;border-radius:6px;padding:1rem}.info-item strong{color:#333;margin-bottom:.5rem;display:block}.status-connected,.status-bonded{color:#4caf50;font-weight:600}.status-disconnected,.status-not-bonded{color:#f44336;font-weight:600}.split-actions{background:#fff3e0;border:1px solid #ffb74d;border-radius:8px;margin-top:1.5rem;padding:1rem}.warning-text{color:#e65100;margin-bottom:1rem;line-height:1.6}.output-priority-manager{margin-top:1.5rem}.priority-selection{margin:1.5rem 0}.current-priority{background:#f5f5f5;border-radius:8px;margin-bottom:1.5rem;padding:1rem;font-size:1.1rem}.priority-badge{text-transform:uppercase;border-radius:16px;padding:.4rem 1rem;font-size:.9rem;font-weight:600;display:inline-block}.priority-badge.usb{color:#fff;background:#ff9800}.priority-badge.ble{color:#fff;background:#2196f3}.priority-options{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;display:grid}.priority-btn{cursor:pointer;background:#fff;border:2px solid #e0e0e0;border-radius:12px;flex-direction:column;align-items:center;gap:.5rem;padding:1.5rem 1rem;transition:all .2s;display:flex;position:relative}.priority-btn:hover:not(:disabled){border-color:#2196f3;transform:translateY(-2px);box-shadow:0 4px 12px #2196f333}.priority-btn.active{background:#f1f8f4;border-color:#4caf50;box-shadow:0 4px 12px #4caf5033}.priority-btn:disabled{cursor:not-allowed;opacity:.6}.priority-btn .icon{font-size:2.5rem}.priority-btn .label{font-size:1rem;font-weight:600}.priority-btn .checkmark{color:#fff;background:#4caf50;border-radius:50%;justify-content:center;align-items:center;width:1.5rem;height:1.5rem;font-size:1rem;font-weight:700;display:flex;position:absolute;top:.5rem;right:.5rem}
