:root{--obs-bg: #0b0f14;--obs-bg-soft: #111823;--obs-surface: #151f2d;--obs-surface-2: #1a2637;--obs-border: #243247;--obs-text: #e7edf7;--obs-text-dim: #98a9c1;--obs-cyan: #28d7ff;--obs-cyan-soft: #1fb8da;--obs-green: #2fd08f;--obs-amber: #f3b23f;--obs-red: #ef5b5b;--obs-purple: #9c7cff;--obs-shadow: 0 10px 30px rgba(0, 0, 0, .25)}.observer-shell{color:var(--obs-text);background:radial-gradient(1200px 600px at 80% -20%,rgba(40,215,255,.12),transparent 60%),radial-gradient(900px 500px at 10% -30%,rgba(156,124,255,.08),transparent 60%),var(--obs-bg);height:100vh;min-height:100vh;padding:.5rem;font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}@media(min-width:600px){.observer-shell{padding:1rem}}.observer-shell #app{flex:1 1 0;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden;width:100%}.observer-shell .menubar{--fg: var(--obs-text);--fg-dim: var(--obs-text-dim);--border: var(--obs-border);--accent: var(--obs-cyan);--space-xs: .25rem;--space-sm: .5rem;--space-md: .75rem;--font-sm: .875rem;--font-base: 1rem;--radius: 4px}.observer-shell .app-menubar-wrap{flex-shrink:0;--fg: var(--obs-text);--fg-dim: var(--obs-text-dim);--border: var(--obs-border);--accent: var(--obs-cyan);--space-xs: .25rem;--space-sm: .5rem;--space-md: .75rem;--font-sm: .875rem;--font-base: 1rem;--radius: 4px;font-size:.875rem}.observer-shell .app-menubar-wrap .menubar-wrap{align-items:center;min-height:2.25rem;border-bottom:1px solid var(--obs-border);margin-bottom:.5rem;padding-bottom:.25rem}@media(min-width:600px){.observer-shell .app-menubar-wrap .menubar-wrap{min-height:2.5rem}}.observer-shell .app-menubar-wrap .menubar-brand-app{font-size:.914em;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--obs-text);line-height:1;display:flex;align-items:center;flex-shrink:0;margin-right:var(--space-sm)}.observer-shell .app-menubar-wrap .menubar-brand-app .app-badge{display:inline-flex;align-items:center;margin-left:.35em;font-size:.55em;font-weight:700;letter-spacing:.08em;color:var(--obs-amber);padding:.2em .45em;border:1px solid var(--obs-amber);border-radius:4px;line-height:1;cursor:pointer;background:none;font:inherit}.observer-shell .app-menubar-wrap .menubar-brand-app .app-badge--alpha:hover{color:var(--obs-cyan);border-color:var(--obs-cyan)}@media(min-width:600px){.observer-shell .app-menubar-wrap .menubar-brand-app{font-size:1.086em}}.observer-shell .app-menubar-wrap .menubar-link{font-size:1em}.observer-shell .app-footer-wrap{flex-shrink:0}.observer-shell .app-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.5rem;padding:.5rem 0;border-top:1px solid var(--obs-border);font-size:.75rem;color:var(--obs-text-dim)}.observer-shell .app-footer-left{flex:1;min-width:0;text-align:left;display:flex;align-items:center;flex-wrap:wrap}.observer-shell .app-footer .footer-link{display:inline-flex;align-items:center;color:var(--obs-text-dim);text-decoration:none;background:none;border:none;padding:0;font:inherit;cursor:pointer}.observer-shell .app-footer .footer-link:hover{color:var(--obs-cyan)}.observer-shell .app-footer .footer-icon{width:1em;height:1em;vertical-align:-.2em;margin-right:.25em;flex-shrink:0;display:inline-block}.observer-shell .footer-sep{margin:0 .25rem;opacity:.6}.observer-topbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.5rem;flex-shrink:0}.observer-topbar .header-text{flex:1}.observer-topbar h1{margin:0;font-size:.95rem;letter-spacing:.08em;text-transform:uppercase;color:var(--obs-text-dim)}.observer-topbar p{margin:.15rem 0 0;font-size:.8rem;color:var(--obs-text-dim)}.observer-topbar .logo{max-width:clamp(100px,12vw,180px);height:auto;display:block;flex-shrink:0}.observer-shell .page-title{margin:0 0 .15rem;font-size:1rem;font-weight:600;color:var(--obs-text);flex-shrink:0}.observer-shell .page-subtitle{margin:0 0 .5rem;flex-shrink:0}.observer-panel{border:1px solid var(--obs-border);background:linear-gradient(180deg,var(--obs-surface),var(--obs-surface-2));border-radius:10px;box-shadow:var(--obs-shadow);padding:.6rem .75rem}.observer-panel--wide{width:100%}.observer-panel-title{margin:0;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--obs-text)}.observer-panel-subtitle,.observer-shell .hint,.observer-shell .notes{margin:.15rem 0 .4rem;font-size:.74rem;color:var(--obs-text-dim)}.observer-shell h2{margin:0 0 .35rem;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--obs-text-dim)}.observer-table{width:100%;border-collapse:collapse;font-size:.78rem}.observer-table th,.observer-table td{padding:.38rem .45rem;border-bottom:1px solid rgba(152,169,193,.15);text-align:left}.observer-table th{text-transform:uppercase;letter-spacing:.05em;font-size:.67rem;color:var(--obs-text-dim)}.observer-table tr:hover td{background:#28d7ff0f}.observer-status-dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:.3rem}.observer-status-dot--ok{background:var(--obs-green)}.observer-status-dot--warn{background:var(--obs-amber)}.observer-status-dot--err{background:var(--obs-red)}.observer-status-dot--info{background:var(--obs-cyan)}.observer-badge--ok{color:#d9fff0;border-color:#2fd08f59;background:#2fd08f26}.observer-badge--warn{color:#fff2d8;border-color:#f3b23f59;background:#f3b23f26}.observer-badge--err{color:#ffe2e2;border-color:#ef5b5b59;background:#ef5b5b26}.observer-shell a{color:var(--obs-cyan)}.observer-shell a:hover{color:var(--obs-cyan-soft)}.observer-shell button{background:var(--obs-surface-2);border:1px solid var(--obs-border);color:var(--obs-text);border-radius:6px;padding:.4rem .75rem;font-size:.875rem;font-family:inherit;cursor:pointer}.observer-shell button:hover:not(:disabled){background:#28d7ff1f;border-color:var(--obs-cyan)}.observer-shell button:disabled{opacity:.5;cursor:not-allowed}.observer-shell .btn-warning{background:var(--obs-red);border-color:var(--obs-red);color:#fff}.observer-shell .btn-warning:hover:not(:disabled){background:#d94a4a;border-color:#d94a4a}.observer-shell input[type=text],.observer-shell input[type=password],.observer-shell select{background:var(--obs-surface-2);border:1px solid var(--obs-border);color:var(--obs-text);border-radius:6px;padding:.35rem .5rem;font-size:.875rem;font-family:inherit}.observer-shell input:focus,.observer-shell select:focus{outline:none;border-color:var(--obs-cyan)}.observer-shell input[type=checkbox]{accent-color:var(--obs-cyan)}.observer-shell pre{margin:0;font-family:SF Mono,Fira Code,Consolas,Monaco,monospace;font-size:.8rem;line-height:1.4}*{box-sizing:border-box}.observer-shell .two-col{display:grid;grid-template-columns:1.4fr 1fr;grid-template-rows:minmax(0,1fr);gap:.75rem;flex:1;min-height:0;overflow:hidden;align-items:stretch}.observer-shell .col-left,.observer-shell .col-right{display:flex;flex-direction:column;min-height:0;overflow:hidden}.observer-shell .col-left{gap:.75rem;overflow-y:auto}.observer-shell .col-right .log-section{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}.observer-shell .log-section #log{flex:1;min-height:0;overflow:auto;padding:.5rem;font-size:.75rem;background:var(--obs-bg);border:1px solid var(--obs-border);border-radius:6px;color:var(--obs-text-dim);white-space:pre-wrap;word-break:break-all;margin:.35rem 0 0}.observer-shell .port-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.observer-shell .port-row #portLabel{color:var(--obs-text-dim);font-size:.85rem}.observer-shell .firmware-select-wrap{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.observer-shell .firmware-select-wrap select{flex:1;min-width:0}.observer-shell .firmware-select-wrap #versionSelect{flex:0 0 auto;max-width:10em}.observer-shell .firmware-select-wrap #downloadBtn{flex-shrink:0}.observer-shell .firmware-source{margin-top:.5rem;padding-top:.5rem;border-top:1px solid var(--obs-border)}.observer-shell .firmware-source .local-bin-hint{font-size:.75rem;color:var(--obs-text-dim);margin-right:.5rem}.observer-shell #localFileLabel{font-size:.8rem;color:var(--obs-text-dim)}.observer-shell .broken-warning{font-size:.85rem;color:var(--obs-red);margin:.5rem 0 0;font-weight:600}.observer-shell .product-type-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem 1rem;padding:.65rem 1rem;margin-bottom:.75rem}.observer-shell .product-type-label{font-size:.8rem;font-weight:600;color:var(--obs-text-dim);text-transform:uppercase;letter-spacing:.04em}.observer-shell .product-type-toggle{display:inline-flex;border:1px solid var(--obs-border);border-radius:8px;overflow:hidden}.observer-shell .product-type-btn{margin:0;padding:.45rem .95rem;font-size:.875rem;font-family:inherit;cursor:pointer;border:none;background:var(--obs-surface-2);color:var(--obs-text-dim);border-right:1px solid var(--obs-border)}.observer-shell .product-type-btn:last-child{border-right:none}.observer-shell .product-type-btn:hover:not(:disabled){color:var(--obs-text);background:var(--obs-bg)}.observer-shell .product-type-btn.is-active{background:#28d7ff26;color:var(--obs-cyan);font-weight:600}.observer-shell .product-type-btn:disabled{opacity:.5;cursor:not-allowed}.observer-shell .product-type-hint{flex:1 1 100%;margin:0!important;max-width:52rem}.observer-shell .flash-speed-wrap{margin-top:.75rem;display:flex;align-items:center;gap:.5rem}.observer-shell .flash-speed-wrap label{font-size:.85rem;color:var(--obs-text-dim)}.observer-shell .version-broken #versionSelect{border-color:var(--obs-red);color:var(--obs-red)}.observer-shell .confirm-label{font-size:.8rem;line-height:1.4;color:var(--obs-text-dim)}.observer-shell progress{vertical-align:middle;margin-right:.5rem;accent-color:var(--obs-cyan)}.observer-shell #flashBtn{padding:.5rem 1rem;font-size:.9rem}.observer-shell #flashBtn.flash-btn--ready{padding:.65rem 1.35rem;font-size:1rem;font-weight:600;background:var(--obs-cyan);color:var(--obs-bg);border:2px solid var(--obs-cyan);box-shadow:0 0 12px #28d7ff66}.observer-shell #flashBtn.flash-btn--ready:hover{background:var(--obs-cyan-soft);border-color:var(--obs-cyan-soft);box-shadow:0 0 16px #28d7ff80}.observer-shell input[type=file]{color:var(--obs-text);font-family:inherit;font-size:.85rem}.observer-shell input[type=file]::file-selector-button{padding:.25rem .5rem;background:var(--obs-surface-2);color:var(--obs-text);border:1px solid var(--obs-border);font-family:inherit;cursor:pointer;border-radius:6px;margin-right:.5rem}.observer-shell input[type=file]::file-selector-button:hover{border-color:var(--obs-cyan)}.observer-shell .wifi-options{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.observer-shell .console-link{display:inline-block;padding:.4rem .75rem;background:var(--obs-surface-2);color:var(--obs-text);border:1px solid var(--obs-border);font-family:inherit;font-size:.875rem;text-decoration:none;border-radius:6px;cursor:pointer}.observer-shell a.console-link{text-decoration:none}.observer-shell .console-link:hover{border-color:var(--obs-cyan);background:#28d7ff1f}.observer-shell .legal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:1000;padding:.75rem}.observer-shell .legal-modal{background:var(--obs-surface);border:1px solid var(--obs-border);border-radius:10px;box-shadow:var(--obs-shadow);max-width:36rem;max-height:80vh;overflow:hidden;display:flex;flex-direction:column}.observer-shell .legal-header{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem;border-bottom:1px solid var(--obs-border);flex-shrink:0;background:var(--obs-surface-2)}.observer-shell .legal-header h2{margin:0;font-size:.9rem;color:var(--obs-text);text-transform:none;letter-spacing:0}.observer-shell .legal-header button{background:none;border:none;color:var(--obs-text);font-size:1.5rem;cursor:pointer;padding:0 .25rem;line-height:1}.observer-shell .legal-header button:hover{color:var(--obs-cyan)}.observer-shell .legal-content{padding:.75rem;overflow:auto;font-size:.85rem;color:var(--obs-text-dim);white-space:pre-wrap;margin:0;flex:1;min-height:0}.observer-shell .wifi-modal .wifi-gui{padding:.75rem}.observer-shell .wifi-requirements{font-size:.85rem;color:var(--obs-text-dim);margin-bottom:.75rem}.observer-shell .wifi-modal .wifi-gui label{display:block;font-size:.75rem;color:var(--obs-text-dim);margin-bottom:.25rem}.observer-shell .wifi-modal .wifi-gui input[type=text],.observer-shell .wifi-modal .wifi-gui input[type=password]{width:100%;margin-bottom:.5rem}.observer-shell .wifi-status{margin-top:.5rem;font-size:.85rem}.observer-shell .wifi-status.wifi-success{color:var(--obs-green)}.observer-shell .wifi-status.wifi-error{color:var(--obs-red)}.observer-shell .wifi-output-wrap{margin-top:.75rem;border-top:1px solid var(--obs-border);padding-top:.75rem}.observer-shell .wifi-output-label{display:block;font-size:.75rem;color:var(--obs-text-dim);margin-bottom:.25rem}.observer-shell .wifi-output{font-family:SF Mono,Consolas,monospace;font-size:.8rem;background:var(--obs-bg);border:1px solid var(--obs-border);border-radius:6px;padding:.5rem;max-height:180px;overflow:auto;white-space:pre-wrap;word-break:break-all;margin:0;color:var(--obs-text-dim)}.observer-shell section.active{border-color:var(--obs-cyan);box-shadow:0 0 0 1px #28d7ff33}@media(max-width:700px){.observer-shell .two-col{grid-template-columns:1fr;grid-template-rows:auto;max-height:none}.observer-shell{overflow:auto}}:root{--app-max-width: 1200px}.menubar{display:flex;align-items:center;gap:var(--space-md);padding:var(--space-sm) 0;margin-bottom:var(--space-md);border-bottom:1px solid var(--border);flex-shrink:0}.menubar-brand{color:var(--fg);text-decoration:none;font-size:var(--font-base);font-weight:600;margin-right:var(--space-sm)}.menubar-brand:hover{color:var(--accent)}.menubar-brand-logo{display:flex;align-items:center;margin-right:var(--space-sm)}.menubar-logo{height:2rem;width:auto;display:block;object-fit:contain}@media(min-width:600px){.menubar-logo{height:2.25rem}}.menubar-link{color:var(--fg-dim);text-decoration:none;font-size:var(--font-sm);padding:var(--space-xs) var(--space-sm);border-radius:var(--radius)}.menubar-link:hover{color:var(--accent);background:#00ff4114}.menubar-link.active{color:var(--accent);font-weight:600}.menubar-wrap{display:flex;align-items:center;justify-content:space-between;width:100%;gap:var(--space-md);flex-wrap:nowrap;min-height:2.5rem}@media(min-width:600px){.menubar-wrap{min-height:2.75rem}}.menubar-nav{flex:1;min-width:0}.menubar-actions{display:flex;align-items:center;flex-shrink:0}.menubar-brand-app{font-size:var(--font-base);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--fg);line-height:1;display:flex;align-items:center;flex-shrink:0;margin-right:var(--space-sm)}.menubar-links{margin-bottom:0;border-bottom:none;padding:0;flex-shrink:0}.menubar-status{display:flex;align-items:center;flex:1;min-width:0;justify-content:flex-end;gap:0 .5rem;font-size:.72rem;font-variant-numeric:tabular-nums;white-space:nowrap}.menubar-burger{display:none;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid var(--border);border-radius:var(--radius);background:transparent;color:var(--fg);cursor:pointer;flex-shrink:0}.menubar-burger:hover{background:#00ff4114;color:var(--accent)}.menubar-burger-icon{display:block}@media(max-width:767px){.app-menubar-wrap{position:relative;z-index:200}.menubar-wrap:has(.menubar-burger){position:relative;flex-wrap:wrap}.menubar-wrap:has(.menubar-burger) .menubar-status{flex:1 1 100%;width:100%;min-width:100%;justify-content:flex-start;order:10;margin-top:.25rem;padding-top:.35rem;border-top:1px solid var(--border)}.menubar-burger{display:inline-flex;order:-1;margin-right:0}.menubar-wrap:has(.menubar-burger) .menubar-brand-app,.menubar-wrap:has(.menubar-burger) .menubar-brand{flex:1;justify-content:center;margin-right:0}.menubar-wrap:has(.menubar-burger) .menubar-brand{text-align:center;display:block}.menubar-links{position:absolute;top:100%;left:0;right:0;flex-direction:column;background:var(--obs-surface, #151f2d);border:1px solid var(--border);border-radius:var(--radius);padding:var(--space-sm);margin-top:var(--space-xs);box-shadow:0 10px 30px #00000040;max-height:0;overflow:hidden;opacity:0;visibility:hidden;transition:max-height .2s ease,opacity .15s ease,visibility .15s ease}.menubar-wrap.menubar-open .menubar-links{max-height:200px;opacity:1;visibility:visible}}
