:root { color-scheme: dark; font: 16px/1.55 system-ui, sans-serif; color: #eaf1f4; background: #101a1f; }
body { margin: 0; }
main { width: min(calc(100% - 2rem), 36rem); margin: clamp(2rem, 9vw, 6rem) auto; }
.brand { color: #86d5bc; font-size: .925rem; font-weight: 700; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); line-height: 1.1; margin: .5rem 0; letter-spacing: -.035em; }
section { background: #1a292f; border: 1px solid #354951; border-radius: 1rem; padding: clamp(1rem, 4vw, 1.75rem); margin-top: 1.5rem; }
label { display: block; font-weight: 650; }
select, input, button { font: inherit; border-radius: .5rem; padding: .55rem .75rem; margin: .35rem .35rem .35rem 0; }
select, input { background: #0d1b21; color: inherit; border: 1px solid #617883; max-width: 100%; box-sizing: border-box; }
input { width: min(100%, 22rem); font-family: ui-monospace, monospace; }
button { background: #91dfc5; color: #10251e; border: 1px solid #91dfc5; font-weight: 700; cursor: pointer; }
button.secondary { background: transparent; color: #c4e5de; border-color: #617883; }
a { color: #91dfc5; }
button:disabled { opacity: .6; cursor: default; }
:focus-visible { outline: 2px solid #b9ffec; outline-offset: 2px; }
p { margin: .6rem 0; }
#qr { width: min(100%, 15rem); height: auto; padding: .4rem; background: white; border-radius: .5rem; box-sizing: border-box; }
#devices, #result, #qr, #tokenResult { margin-top: 1rem; }
.privacy { font-size: .9rem; color: #bacdd5; }
[hidden] { display: none !important; }
