:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #1f6feb;
  --primary-strong: #1b4fbf;
  --primary-soft: #e8f0fe;
  --green: #16a34a;
  --green-soft: #dcfce7;
  --red: #dc2626;
  --red-soft: #fee2e2;
  --gray-soft: #eef2f7;
  --shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 4px 16px rgb(15 23 42 / 6%);
  --radius: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Cascadia Mono', Consolas, 'SFMono-Regular', Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #111a2e;
    --surface-2: #0f1728;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: #1f2a40;
    --primary: #4c8dff;
    --primary-strong: #2f6fe0;
    --primary-soft: #16264a;
    --green: #22c55e;
    --green-soft: #0f2e1d;
    --red: #f87171;
    --red-soft: #3a1414;
    --gray-soft: #1a2438;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 var(--font);
}

a {
  color: var(--primary);
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.3;
}

h2 {
  font-size: 16px;
}

h3 {
  font-size: 14px;
  margin: 18px 0 8px;
}

code,
.mono {
  font-family: var(--mono);
  font-size: 13px;
}

[hidden] {
  display: none !important;
}

.offscreen {
  position: fixed;
  left: -9999px;
}

.boot,
.empty {
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

.empty.error {
  color: var(--red);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

.text-green {
  color: var(--green);
  font-weight: 600;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.logo {
  width: 36px;
  height: 36px;
  flex: none;
}

/* ------------------------------------------------------------ botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  color: #fff;
}

.btn-danger {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-danger:hover {
  color: #fff;
  filter: brightness(0.95);
}

.btn-danger-ghost {
  color: var(--red);
  border-color: transparent;
  background: transparent;
}

.btn-danger-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
}

.btn-small {
  min-height: 30px;
  padding: 0 10px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--gray-soft);
  color: var(--text);
}

.icon-btn.danger:hover {
  background: var(--red-soft);
  color: var(--red);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.copy-inline {
  border: 0;
  padding: 2px 4px;
  margin: -2px -4px;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: copy;
  font-family: var(--mono);
  font-size: 13px;
}

.copy-inline:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.link {
  font-size: 13px;
  font-weight: 500;
}

/* ------------------------------------------------------------ login */

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 20% 10%, var(--primary-soft), transparent 45%), var(--bg);
}

.login-card {
  width: min(380px, 100%);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.login-brand {
  text-align: center;
  margin-bottom: 8px;
}

.login-brand .logo {
  width: 56px;
  height: 56px;
}

.login-brand h1 {
  margin-top: 10px;
  font-size: 22px;
}

.login-brand p {
  margin: 2px 0 0;
  color: var(--muted);
}

.form-error {
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
}

/* ------------------------------------------------------------ estrutura */

.shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 14px;
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 10px;
}

.brand strong {
  display: block;
  font-size: 15px;
}

.brand span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.sidebar nav {
  display: grid;
  gap: 2px;
}

.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
}

.sidebar nav a:hover {
  background: var(--gray-soft);
  color: var(--text);
}

.sidebar nav a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.sidebar-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 6px 0;
  border-top: 1px solid var(--border);
}

.sidebar-footer .user {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-backdrop {
  display: none;
}

.main {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
}

.topbar h1 {
  font-size: 20px;
}

.page-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.menu-btn {
  display: none;
}

.page {
  display: grid;
  gap: 20px;
  padding: 24px 28px 48px;
  max-width: 1280px;
}

/* ------------------------------------------------------------ cartões */

.card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  min-width: 0;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.grid-ads {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
  align-items: start;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat > .icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}

.stat-green > .icon {
  background: var(--green-soft);
  color: var(--green);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.stat-value {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--gray-soft);
  color: var(--muted);
}

.badge-green {
  background: var(--green-soft);
  color: var(--green);
}

.badge-blue {
  background: var(--primary-soft);
  color: var(--primary);
}

.badge-dark {
  background: rgb(15 23 42 / 72%);
  color: #fff;
}

.badge-gray {
  background: var(--gray-soft);
  color: var(--muted);
}

.badge-purple {
  background: color-mix(in srgb, #8b5cf6 16%, transparent);
  color: #8b5cf6;
}

.badge-amber {
  background: color-mix(in srgb, #f59e0b 18%, transparent);
  color: #d97706;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--border);
}

.dot.on {
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bars li {
  display: grid;
  grid-template-columns: 110px 1fr 48px;
  align-items: center;
  gap: 10px;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: var(--gray-soft);
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.4s;
}

.bar-value {
  text-align: right;
  color: var(--muted);
}

.steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

/* ------------------------------------------------------------ tabelas */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.toolbar select {
  width: auto;
  min-width: 150px;
}

.toolbar .btn {
  flex: none;
}

/* Campos lado a lado não se esticam para acompanhar o vizinho mais alto. */
.form-grid {
  align-items: start;
}

.field {
  align-content: start;
}

.search {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
}

.search input {
  flex: 1;
  min-height: 36px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table tbody tr:hover {
  background: var(--surface-2);
}

.table.compact td {
  padding: 7px 10px;
}

.table td.actions {
  text-align: right;
  white-space: nowrap;
}

.cell-main {
  font-weight: 600;
}

.cell-sub {
  color: var(--muted);
  font-size: 12px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  color: var(--muted);
}

.pagination div {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ------------------------------------------------------------ formulários */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.field > span {
  font-weight: 500;
  font-size: 13px;
}

.field small {
  color: var(--muted);
  font-size: 12px;
}

.field-full {
  grid-column: 1 / -1;
}

.field-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

input[type='checkbox'] {
  width: 16px;
  min-height: 16px;
  accent-color: var(--primary);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-soft);
  border-color: var(--primary);
}

details summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 500;
  margin: 4px 0 10px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.dropzone {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 2px dashed var(--border);
  border-radius: 10px;
  text-align: center;
  color: var(--muted);
  background: var(--surface-2);
  margin-bottom: 12px;
}

.dropzone.dragging,
.dropzone:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.dropzone input[type='file'] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  min-height: 0;
}

.dropzone-text {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.dropzone-text .icon {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.dropzone-text strong {
  color: var(--text);
}

.dropzone-file {
  font-weight: 600;
  color: var(--primary);
}

.progress {
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--gray-soft);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: var(--primary);
  transition: width 0.2s;
}

.copy-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
}

.copy-field code {
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
}

.code {
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #0f172a;
  color: #e2e8f0;
  font-family: var(--mono);
  font-size: 12.5px;
  overflow-x: auto;
  white-space: pre;
}

.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex: none;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--border);
  transition: background 0.2s;
}

.switch span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.switch input:checked + span {
  background: var(--green);
}

.switch input:checked + span::after {
  transform: translateX(16px);
}

/* ------------------------------------------------------------ anúncios */

.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.ad-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.ad-media {
  position: relative;
  background: var(--gray-soft);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ad-media img,
.ad-media video,
.client-mock-ad img,
.client-mock-ad video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-media .badge {
  position: absolute;
  top: 8px;
  left: 8px;
}

.ad-body {
  padding: 12px 14px 4px;
  display: grid;
  gap: 2px;
}

.ad-body p {
  margin: 0;
}

.ad-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ad-title-row h3 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ad-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 10px 10px 14px;
  margin-top: auto;
}

.spacer {
  flex: 1;
}

.client-mock {
  margin: 16px 0 4px;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.client-mock-window {
  width: 230px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.client-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.client-mock-bar .logo {
  width: 16px;
  height: 16px;
}

.client-mock-body {
  display: grid;
  padding: 10px 12px 12px;
  border-left: 3px solid var(--primary);
  margin: 10px 0 10px 12px;
}

.client-mock-label {
  font-size: 10px;
  color: var(--muted);
}

.client-mock-id {
  font-size: 17px;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.client-mock-pass {
  font-size: 12px;
  margin-bottom: 10px;
}

.client-mock-ad {
  display: grid;
  place-items: center;
  border-radius: 6px;
  overflow: hidden;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  aspect-ratio: 16 / 9;
}

/* ------------------------------------------------------------ modal e avisos */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgb(15 23 42 / 55%);
}

.modal {
  width: min(480px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 20px 60px rgb(0 0 0 / 30%);
}

.modal-wide {
  width: min(860px, 100%);
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.modal-body {
  padding: 18px 20px 22px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.detail {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.detail > span {
  color: var(--muted);
  font-size: 12px;
}

.detail strong,
.detail button {
  justify-self: start;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.toasts {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: grid;
  gap: 8px;
}

.toast {
  padding: 10px 14px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  box-shadow: var(--shadow);
  transition: opacity 0.4s, transform 0.4s;
  max-width: 360px;
}

.toast-error {
  background: var(--red);
}

.toast.hide {
  opacity: 0;
  transform: translateY(6px);
}

/* ------------------------------------------------------------ página simples (download) */

.simple-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.simple-page .card {
  width: min(560px, 100%);
}

.simple-page h1 {
  margin-bottom: 12px;
}

.downloads {
  padding-left: 18px;
}

.notes {
  white-space: pre-wrap;
  font-family: var(--font);
}

/* ------------------------------------------------------------ telas menores */

@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2,
  .grid-ads {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 800px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    position: fixed;
    z-index: 40;
    left: 0;
    width: 250px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }

  .shell.menu-open .sidebar {
    transform: none;
  }

  .shell.menu-open .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgb(15 23 42 / 45%);
  }

  .menu-btn {
    display: inline-flex;
  }

  .topbar,
  .page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .form-grid,
  .details-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- acessos, alertas, configuração remota */

.text-red {
  color: var(--red);
  font-weight: 600;
}

.stat-red > .icon {
  background: var(--red-soft);
  color: var(--red);
}

.badge-red {
  background: var(--red-soft);
  color: var(--red);
}

.sidebar-footer .user small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

.alert-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.alert-box > .icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.alert-box .btn {
  margin-top: 8px;
}

.alert-danger {
  border-color: color-mix(in srgb, var(--red) 40%, transparent);
  background: var(--red-soft);
  color: var(--text);
}

.alert-danger > .icon {
  color: var(--red);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: -4px 0 14px;
  border-bottom: 1px solid var(--border);
}

.tab {
  padding: 8px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.date-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.date-filter input {
  width: auto;
}

.field-check.inline {
  margin: 0;
  white-space: nowrap;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.option-group,
.checks {
  margin: 0 0 16px;
  padding: 12px 14px 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.option-group legend,
.checks legend {
  padding: 0 6px;
  font-weight: 600;
}

.checks {
  padding-bottom: 8px;
}

.danger-zone {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--red) 45%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--red-soft) 50%, transparent);
}

.danger-zone summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--red);
}

.danger-zone summary .icon {
  width: 18px;
  height: 18px;
}

.qr {
  display: flex;
  justify-content: center;
  margin: 14px 0;
}

.qr img {
  width: 200px;
  height: 200px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.form-grid + .option-group {
  margin-top: 12px;
}
