:root { color-scheme: dark; font: 16px/1.5 system-ui, sans-serif; background: #121619; color: #ecf4ef; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { padding: 16px max(6vw, 18px); border-bottom: 1px solid #303a38; display: flex; align-items: center; gap: 20px; }
header strong { letter-spacing: -.03em; font-size: 1.2rem; }
header span { font-size: .8rem; color: #b8c9c1; border: 1px solid #52665d; border-radius: 20px; padding: 3px 10px; }
main { max-width: 960px; margin: 0 auto; padding: clamp(28px, 6vw, 64px) 22px; }
.project { font: .75rem ui-monospace, monospace; letter-spacing: .12em; color: #9ae7be; }
h1 { font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: -.07em; line-height: 1; margin: 12px 0; }
h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.intro { color: #b8c9c1; margin-bottom: 30px; }
.row, .bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.bar { justify-content: space-between; margin-bottom: 12px; }
form, .pairing, .device, .empty, .audit { background: #1c2424; border: 1px solid #35433e; border-radius: 12px; padding: 18px; }
label { display: block; color: #d0ded6; font-size: .9rem; margin-bottom: 8px; }
input, button { font: inherit; border-radius: 7px; padding: 8px 12px; }
input { width: min(100%, 330px); background: #111716; color: #f3f8f4; border: 1px solid #62796d; }
button { background: #a8ebc7; color: #102319; border: 1px solid transparent; font-weight: 650; cursor: pointer; }
button.revoke { background: transparent; color: #ffc9b7; border-color: #946a5d; }
:focus-visible { outline: 2px solid #adebd0; outline-offset: 3px; }
.device, .pairing, .audit { margin-bottom: 12px; }
.device h3, .audit h2 { margin: 0; }
.device p, .pairing p { color: #bfd0c6; margin: 6px 0; overflow-wrap: anywhere; }
.audit { margin-top: 24px; }
.audit ol { padding-left: 22px; color: #bfd0c6; overflow-wrap: anywhere; }
#feedback { color: #ffccb8; }
