.site-header { position: relative; }
.devices-shell { max-width: 880px; margin: 0 auto; padding: 36px 24px 80px; }
.devices-shell h1 { font-size: 36px; letter-spacing: 0; margin: 8px 0 24px; }
.devices-shell h2 { font-size: 22px; letter-spacing: 0; margin: 24px 0 16px; }
.devices-shell p { max-width: 66ch; line-height: 1.6; }
.devices-heading, .devices-toolbar { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.device-mark { width: 72px; height: 72px; object-fit: contain; flex-shrink: 0; }
.devices-shell section { padding: 20px 0; border-bottom: 1px solid #ffffff24; }
.device-list { list-style: none; padding: 0; }
.device-list li { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid #ffffff18; overflow-wrap: anywhere; }
.device-list small { display: block; margin-top: 6px; color: #c2c5ce; }
.devices-shell button { cursor: pointer; font: inherit; white-space: normal; border-radius: 6px; }
.devices-shell button:disabled { opacity: .6; cursor: wait; }
#pairing { padding-top: 24px; }
#qr { display: block; width: 240px; max-width: 100%; height: auto; background: white; }
#code { font-family: monospace; font-size: 22px; }
#message { min-height: 1.6em; color: #f1c986; }
[hidden] { display: none !important; }
@media(max-width: 900px) { .site-nav { display: flex; position: static; padding: 0; background: none; border: 0; gap: 14px; } }
@media(max-width: 520px) { .devices-shell { padding: 28px 20px 56px; } .devices-shell h1 { font-size: 30px; } .device-list li { align-items: flex-start; flex-direction: column; } }

.devices-shell label { display: block; margin: 16px 0 8px; }
.devices-shell input, .devices-shell select { display: block; width: 100%; max-width: 360px; padding: 12px; margin-bottom: 16px; color: #fff; background: #181a25; border: 1px solid #777b89; border-radius: 6px; font: inherit; }
.devices-shell details { min-width: 0; flex: 1; width: 100%; }
.devices-shell summary { cursor: pointer; padding: 12px 0; min-height: 44px; }
.device-list > li:has(details) { align-items: stretch; flex-direction: column; }
.device-list .integrity-vow, .device-list .integrity-point { align-items: stretch; flex-direction: column; gap: 12px; }
.integrity-vow > p, .integrity-vow .device-list { margin: 0; width: 100%; }
.integrity-point > .integrity-children { padding-left: 20px; }
