:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f5fb;
  --panel: rgba(255, 255, 255, 0.9);
  --line: #d8dbea;
  --text: #191b29;
  --muted: #616579;
  --danger: #b42345;
}

:root[data-theme="light"] .status-card,
:root[data-theme="light"] .rule,
:root[data-theme="light"] .device,
:root[data-theme="light"] .guild-picker select,
:root[data-theme="light"] .field select,
:root[data-theme="light"] .cooldown-editor,
:root[data-theme="light"] .cooldown-editor input {
  background: #fff;
}

:root[data-theme="light"] .button {
  background: #e9eaf3;
}

:root[data-theme="light"] .button.primary {
  color: #fff;
  background: linear-gradient(135deg, #635bff, #895de8);
}

:root[data-theme="light"] .preference-row {
  border-bottom-color: #e0e2ed;
}

.policy-panel,
.danger-panel {
  grid-column: 1;
}

.policy-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.policy-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.policy-list dt {
  color: var(--muted);
}

.policy-list dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.danger-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.button.danger {
  color: #fff;
  background: #a72d4b;
  border-color: #cc496a;
}

@media (max-width: 760px) {
  .policy-panel {
    order: 6;
  }

  .danger-panel {
    order: 7;
  }
}
