.nvr-body { display: grid; gap: 1rem; padding: 1rem; }
.nvr-form { display: grid; gap: 1rem; max-inline-size: 70rem; }
.nvr-form h2 { margin: 0; }
.nvr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.nvr-field { display: grid; gap: .35rem; }
.nvr-field label { font-weight: 650; }
.nvr-field input, .nvr-field select { box-sizing: border-box; min-block-size: 48px; inline-size: 100%; padding: .7rem .8rem; font: inherit; font-size: max(1rem, 1em); }
.nvr-field input:focus-visible, .nvr-field select:focus-visible, .nvr-check input:focus-visible { outline: 3px solid #1f6feb; outline-offset: 2px; }
.nvr-check { display: inline-flex; align-items: center; gap: .65rem; min-block-size: 48px; }
.nvr-check input { inline-size: 1.25rem; block-size: 1.25rem; accent-color: #1f6feb; }
.nvr-table-wrap { overflow: auto; max-inline-size: 100%; container-type: inline-size; }
.nvr-table { inline-size: 100%; border-collapse: separate; border-spacing: 0; }
.nvr-table caption { text-align: start; font-size: 1.1rem; font-weight: 700; padding-block-end: .75rem; }
.nvr-table thead { position: sticky; inset-block-start: 0; z-index: 1; }
.nvr-table th, .nvr-table td { text-align: start; padding: .8rem; border-block-end: 1px solid var(--border, #d8e0ec); vertical-align: top; }
.nvr-table tbody th { position: sticky; inset-inline-start: 0; background: var(--card, #fff); }
.nvr-status { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.nvr-status::before { content: ''; inline-size: .65rem; block-size: .65rem; border-radius: 50%; background: #7b8794; }
.nvr-online::before { background: #20b15a; }
.nvr-offline::before, .nvr-auth_error::before, .nvr-error::before { background: #d93f3f; }
@container (width < 44rem) {
  .nvr-table, .nvr-table tbody, .nvr-table tr, .nvr-table th, .nvr-table td { display: block; }
  .nvr-table thead { display: none; }
  .nvr-table tr { border: 1px solid var(--border, #d8e0ec); border-radius: .75rem; margin-block-end: 1rem; overflow: clip; }
  .nvr-table tbody th { inset-block-start: 0; z-index: 2; }
  .nvr-table td::before { content: attr(data-label) ': '; font-weight: 700; }
}
@media (max-width: 42rem) { .nvr-grid { grid-template-columns: 1fr; } }
