/* Signing in and devices (ADR 0019). Zondag tokens only. */
.tabs.hidden { display: none; }
.login-page { padding-top: var(--s-4); }
.login { display: grid; gap: var(--s-3); }
.login h2 { margin: var(--s-2) 0 0; font-family: var(--display); font-size: var(--t-2xl); font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.login .sub { margin: 0; }
.login code { font-size: var(--t-s); background: var(--surface-2); padding: 0.1rem 0.35rem; border-radius: 0.4rem; overflow-wrap: anywhere; }
.login-form { display: grid; gap: var(--s-2); }
.login-form .label { margin: var(--s-2) 0 0; }
.login-code { font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.login .primary.wide { margin-top: var(--s-3); }
.login-alt { justify-self: start; }
.sheet .login { padding-bottom: var(--s-2); }
.sheet .login input { background: var(--bg); }
.who-devices { justify-self: start; margin-top: var(--s-1); }
div.who-option { cursor: default; }

.devices-sheet h2 { margin: 0; font-family: var(--display); font-size: var(--t-2xl); font-weight: 800; color: var(--text); }
.devices { list-style: none; padding: 0; margin: var(--s-2) 0 0; display: grid; gap: var(--s-2); }
.devices li { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-2) var(--s-2) var(--s-3); background: var(--bg); border-radius: var(--r-m); }
.devices .who-avatar { width: 2.25rem; height: 2.25rem; font-size: 0.9rem; }
.device-text { flex: 1; min-width: 0; display: grid; }
.device-text strong { overflow-wrap: anywhere; }
.device-text small { color: var(--muted); font-size: var(--t-s); }
.new-code { display: grid; gap: var(--s-1); padding: var(--s-3) var(--s-4); background: var(--accent-soft); border-radius: var(--r-m); }
.new-code strong { font-family: var(--display); font-size: 2rem; font-weight: 800; letter-spacing: 0.08em; }
.new-code span { font-size: var(--t-s); }
.new-code.key code { font-size: var(--t-s); overflow-wrap: anywhere; user-select: all; }
.devices-foot { display: flex; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-4); }

/* "Nest koppelen" in Apparaten (NestLink): a note and a button, like Spotify on Muziek. */
.nest-link { display: grid; gap: var(--s-2); }
.nest-link .note { margin: 0; }
.nest-link .warn { color: var(--bad); font-weight: 600; }
.nest-link-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* "Systeem" in Apparaten (SystemCard, ADR 0028): how full the Pi's disk is, a bar and a few sizes. */
.system-card { display: grid; gap: var(--s-2); }
.system-card .note { margin: 0; }
.system-card .warn { color: var(--bad); font-weight: 600; }
.system-bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.system-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.system-card.full .system-bar span { background: var(--bad); }
.system-sizes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); font-size: var(--t-s); color: var(--muted); }
.system-sizes li { display: flex; justify-content: space-between; gap: var(--s-2); }
.system-sizes li span:last-child { font-variant-numeric: tabular-nums; color: var(--text); }
