* { box-sizing: border-box }
body { margin: 0; background: #f6f8fa; color: #1d2939; font: 16px/1.5 Inter, system-ui, sans-serif }
header { background: white; border-bottom: 1px solid #dbe1e8; padding: 17px max(5vw, calc((100vw - 800px) / 2)); white-space: nowrap }
header strong { letter-spacing: -.06em; font-size: 21px }
header span { color: #aab5c0; margin: 0 10px }
main { max-width: 840px; margin: 55px auto; padding: 0 20px }
h1 { font-size: clamp(30px,5vw,44px); letter-spacing: -.055em; margin: 0 0 24px }
h2 { font-size: 19px; letter-spacing: -.025em; margin: 0 }
section { padding: 22px; margin: 16px 0; border: 1px solid #dbe1e8; border-radius: 12px; background: white }
.connection,.heading,form,.led { display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.connection,.heading { justify-content: space-between }
p { margin: 3px 0; color: #4a596d }
form { align-items: end; margin-top: 16px }
label { font-size: 14px }
input,button { font: inherit; border: 1px solid #bac6d2; border-radius: 6px; padding: 7px 12px; background: white; color: inherit }
button { cursor: pointer; font-weight: 550 }
button:disabled { opacity: .5; cursor: default }
button:hover:enabled { border-color: #2860ba }
#connect,#play button:first-of-type,#send { background: #235cc0; color: white; border-color: #235cc0 }
label input { display: block; width: 120px }
.led { margin-top: 18px }
pre { background: #14202e; color: #d8ebf7; min-height: 140px; max-height: 280px; overflow: auto; padding: 16px; border-radius: 7px; font: 14px/1.6 "IBM Plex Mono", monospace; overflow-wrap: anywhere; white-space: pre-wrap }
#command { min-width: 100px; flex: 1 }
footer a { font-size: 14px; color: #465b73 }
