:root{color-scheme:light;font-family:Segoe UI,Aptos,system-ui,sans-serif;line-height:1.5;font-weight:400;color:#dcf7f2;background:radial-gradient(circle at top left,rgba(15,118,110,.35),transparent 32%),radial-gradient(circle at top right,rgba(8,145,178,.2),transparent 28%),linear-gradient(180deg,#041010,#0a1b1b 58%,#102725);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;padding-bottom:4rem;min-width:320px;min-height:100vh;color:#dcf7f2}button,input{font:inherit}button{cursor:pointer;display:flex;justify-content:center;flex-direction:column}code{font-family:Cascadia Mono,Consolas,monospace}#root{min-height:100vh}.shell{width:calc(100vw - 2rem);max-width:1000px;margin:0 auto;padding:2rem 1rem 3rem;box-sizing:border-box}.hero{display:grid;gap:1rem;margin-bottom:1.75rem}.eyebrow,.label{margin:0;font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;color:#8de5d2}.hero h1,.section-head h2{margin:0;line-height:1.05}.hero h1{font-size:clamp(2.6rem,6vw,5rem)}.lede{margin:0;max-width:60ch;color:#bde8df}.grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.row{display:flex;gap:.5rem;align-items:center}.card{background:#061817b8;border:1px solid rgba(141,229,210,.16);border-radius:1.4rem;box-shadow:0 28px 80px #00000047;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:1.25rem;display:flex;flex-direction:column;gap:1rem}.actions,.scan-actions,.form,.network-list,.section-head{display:grid}.actions,.form{gap:1rem}.actions{grid-template-columns:1fr auto;align-items:center}.section-head{grid-template-columns:1fr auto;align-items:start;gap:1rem}.transport-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.transport-option{display:grid;gap:.8rem;padding:1rem;border-radius:1.2rem;border:1px solid rgba(141,229,210,.14);background:#ffffff08;color:inherit;text-align:left}.transport-option.selected{border-color:#5cf2cb80;background:#10b9811a}.transport-option:disabled{cursor:not-allowed;opacity:.5}.transport-option-head{display:grid;gap:.35rem}.pill{display:inline-flex;align-items:center;justify-content:center;min-width:3rem;padding:.35rem .75rem;border-radius:999px;background:#8de5d21f;color:#b7fff0;white-space:nowrap;gap:1rem}.transport-pill{width:fit-content}.transport-pill.ready{background:#22c55e1f}.transport-pill.blocked{background:#ef444424}.status-strip{display:flex;align-items:center;gap:.75rem;padding:.9rem 1rem;border-radius:999px;background:#bde8df0f;width:fit-content;max-width:100%}.toggle{display:inline-flex;align-items:center;gap:.75rem;width:fit-content;max-width:100%;padding:.85rem 1rem;border-radius:1rem;background:#bde8df0f;color:#cdeee7;cursor:pointer;white-space:nowrap}.toggle input{width:1rem;height:1rem;accent-color:#14b8a6}.status-strip p{margin:0}.dot{display:inline-block;width:.8rem;height:.8rem;border-radius:999px;background:#6b7280;box-shadow:0 0 0 .2rem #ffffff0f}.dot.connecting{background:#f59e0b}.dot.connected{background:#22c55e}.dot.error{background:#ef4444}.network-list{flex:1;gap:.75rem;padding:1rem 1.25rem 1.25rem;max-height:32rem;overflow:auto;align-items:center}.network-list .muted{text-align:center}.scan-actions{gap:.75rem;padding:1rem 1.25rem 0}.serial-panel{display:flex;flex-direction:column;gap:.75rem;padding:1rem 1.1rem;border-radius:1rem;background:#bde8df0f;border:1px solid rgba(141,229,210,.12)}.serial-panel-title{margin:0}.serial-toolbar{display:flex;flex-wrap:wrap;gap:.5rem}.serial-log{margin:0;max-height:14rem;overflow:auto;padding:.75rem 1rem;border-radius:.85rem;font-family:Cascadia Mono,Consolas,monospace;font-size:.78rem;line-height:1.45;white-space:pre-wrap;word-break:break-word;background:#020a0a8c;border:1px solid rgba(141,229,210,.14);color:#c6ebe3}.serial-log-wrap{display:grid}.serial-log.muted{color:#99c7bf}.network{display:grid;grid-template-columns:1fr auto auto;gap:.75rem;align-items:center;width:100%;padding:.95rem 1rem;border-radius:1rem;border:1px solid rgba(141,229,210,.12);background:#ffffff05;color:inherit;text-align:left}.network.selected,.network:hover{border-color:#5cf2cb73;background:#10b9811f}.form label{gap:.45rem}.form input{width:100%;padding:.9rem 1rem;border-radius:.95rem;border:1px solid rgba(141,229,210,.16);background:#020a0a7a;color:inherit}.password-field{position:relative}.password-field input{padding-right:3rem}.password-toggle{position:absolute;top:50%;right:.7rem;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:0;border-radius:999px;background:transparent;color:#bde8df;padding:0}.password-toggle:hover{background:#bde8df14}.password-toggle:focus-visible{outline:2px solid rgba(92,242,203,.8);outline-offset:2px}.password-toggle svg{width:1.15rem;height:1.15rem;fill:currentColor}.primary{padding:.95rem 1.2rem;border:0;border-radius:999px;background:linear-gradient(135deg,#14b8a6,#22c55e);color:#032220;font-weight:700;line-height:1.5;height:3.4rem}.secondary{padding:.85rem 1rem;border:1px solid rgba(141,229,210,.18);border-radius:999px;background:#ffffff0a;color:#dcf7f2}.secondary:disabled{cursor:not-allowed;opacity:.55}.primary:disabled{cursor:not-allowed;opacity:.55}.muted,.error,.success{margin:0}.muted{color:#99c7bf}.error{color:#fda4af}.success{display:grid;gap:.2rem;padding:.9rem 1rem;border-radius:1rem;background:#22c55e1f;color:#c6f6d5}@media(max-width:860px){.shell{width:min(100vw - 1.25rem,42rem);padding-top:1.25rem}.grid,.actions,.transport-grid,.network{grid-template-columns:1fr}}dialog{position:fixed;top:10%;left:50%;transform:translate(-50%);max-width:600px;width:90%;z-index:1000;box-shadow:0 4px 20px #00000080;color:#dcf7f2}a{color:#dcf7f2}
