main { max-width: 730px; }
.device-area { margin: 1rem 0; }
.device-area li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; }
.device-area li > div:first-child { min-width: 0; }
.device-area li .actions { margin: 0; }
.device-area figcaption { margin-top: .65rem; }
.device-area figure { margin: .8rem 0; }
.device-area figure img {
  display: block;
  width: min(100%, 248px);
  height: auto;
  padding: .25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .6rem;
}
.device-primary { color: #fff; background: #0b5e4e; border-color: #0b5e4e; }
.trust-settings { display: inline-flex; align-items: center; min-height: 44px; }
button { min-height: 44px; }
.device-form { display: grid; gap: .5rem; }
.device-form > input { width: 100%; min-height: 44px; padding: .5rem .75rem; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: .6rem; }
.device-form .actions { margin-block: .5rem 0; }
.access-panel + .access-panel { margin-top: .8rem; }
.access-panel fieldset { margin: .65rem 0; padding: 0; border: 0; min-inline-size: 0; }
.access-panel legend { font-weight: 650; }
.access-panel label { display: flex; align-items: center; gap: .55rem; min-height: 44px; }
.access-panel input { width: 1.15rem; height: 1.15rem; accent-color: #0b5e4e; }
.access-panel strong, .access-panel h2 { overflow-wrap: anywhere; }
