.pairing main{max-width:780px;margin:10vh auto;padding:24px}.pairing section{text-align:center;padding:42px}.pairing h1{font-size:32px}.pair-code{font-size:clamp(38px,6vw,68px);font-weight:750;letter-spacing:.08em;color:#006b73;margin:28px 0}.tv-hidden{display:none!important}body[data-tv="1"] #screen{height:100vh}body[data-tv="1"] .operator-bar{position:fixed;inset:0 0 auto;z-index:20;box-shadow:0 4px 14px #19343e20}body[data-tv="1"].tv-presenting .operator-bar{display:none}body[data-tv="1"]:focus-within .operator-bar{outline-offset:4px}body[data-tv="1"] button:focus{outline:3px solid #e4aa40;outline-offset:3px}.device-row{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:16px 0;border-top:1px solid #d8e4e6}.device-row p{margin:4px 0}.device-row button{flex:0 0 auto}.device-forms{display:flex;gap:20px;flex-wrap:wrap}.device-forms label{min-width:200px}

/* Local evolution: the television canvas never loses height to controls. */
body[data-tv="1"] #screen{position:fixed;inset:0;width:100%;height:100vh;height:100svh;z-index:0}
body[data-tv="1"] .operator-bar{inset:auto 1rem 1rem auto;width:min(29rem,calc(100vw - 2rem));min-height:0;display:block;padding:1.2rem;border:1px solid #b8d4d6;border-radius:12px;box-shadow:0 6px 24px #19343e24;font-size:16px}
body[data-tv="1"] .operator-bar[hidden],body[data-tv="1"].tv-presenting .operator-bar{display:none!important}
body[data-tv="1"] .operator-bar strong{font-size:20px;color:#005b64}
body[data-tv="1"] .operator-bar p{font-size:14px;line-height:1.5;margin:.4rem 0}
body[data-tv="1"] .audio-controls{margin-top:.8rem;justify-content:flex-start;gap:.6rem}
body[data-tv="1"] button{min-height:44px;padding:.65rem .85rem}
body[data-tv="1"] #audio-enable{flex:1 1 100%;font-weight:600}
body[data-tv="1"] #audio-status{flex-basis:100%;line-height:1.5}
#tv-controls-open{position:fixed;right:1rem;bottom:1rem;z-index:21;background:white;color:#005b64;border:1px solid #9bbec2}
#tv-controls-open[hidden]{display:none!important}
.tv-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
