:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172931; background: #f1f4f4; }
body { margin: 0; }
main { max-width: 620px; margin: 8vh auto; padding: 0 24px; }
.brand { color: #086761; font-weight: 700; }
.label { color: #48616a; margin-top: 20px; }
h1 { font-size: clamp(2rem, 7vw, 3rem); margin: .25em 0; }
p { line-height: 1.5; }
a { color: #086761; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.cards li { padding: 16px; border: 1px solid #d2dede; border-radius: 12px; background: #fff; }
.cards a { font-weight: 700; }
.cards p { margin-bottom: 0; }
form { display: grid; justify-items: start; gap: 8px; }
button, .button { display: inline-block; padding: 10px 14px; border: 0; border-radius: 8px; color: #fff;
  background: #086761; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
input { width: min(100%, 12rem); box-sizing: border-box; padding: 10px; border: 1px solid #91aaaa; border-radius: 8px; font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #027e78; outline-offset: 3px; }
button:disabled { opacity: .6; cursor: default; }
#pairing-code { font-size: 1.35rem; letter-spacing: .06em; user-select: all; }
.error { color: #9b2630; }
