/* Rmail administration surface. */

/* Admin uses the dark navy theme (base.css) with a darker red accent, never webmail's amber. */
body.adm {
  --mt-accent: #b91c1c;
  --mt-accent-dark: #dc2626;
  --mt-accent-text: #f87171;
  --mt-accent-hover: #ef4444;
  --mt-accent-pale: rgba(185, 28, 28, 0.32);
  --mt-accent-wash: rgba(185, 28, 28, 0.16);
  --mt-on-accent: #ffffff;
}

.adm {
  background: var(--mt-bg);
  overflow: hidden;
}

.adm-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 0;
}

/* Top navigation */
.adm-topbar {
  display: flex;
  align-items: stretch;
  flex: 0 0 30px;
  height: 30px;
  background: var(--mt-topbar);
  color: var(--mt-topbar-ink);
  white-space: nowrap;
}

.adm-topbar__left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  padding-left: 10px;
}

.adm-topbar__product {
  overflow: hidden;
  font-size: 13px;
  line-height: 30px;
  text-overflow: ellipsis;
}

.adm-topbar__tenant {
  overflow: hidden;
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 30px;
  text-overflow: ellipsis;
}

.adm-topbar__right {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  height: 30px;
  background: var(--mt-selected);
  color: var(--mt-text-secondary);
}

.adm-topbar__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 30px;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--mt-border);
  background: transparent;
  color: var(--mt-text-secondary);
  font-size: 14px;
}

.adm-topbar__button:hover {
  background: var(--mt-surface);
  color: var(--mt-accent-text);
}

.adm-topbar__badge {
  position: absolute;
  top: 3px;
  right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 13px;
  height: 13px;
  padding: 0 3px;
  border-radius: 7px;
  background: var(--mt-accent);
  color: var(--mt-on-accent);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.adm-me {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 10px 0 6px;
  border: 0;
  border-left: 1px solid var(--mt-border);
  background: transparent;
  color: var(--mt-text-secondary);
  font-size: 12px;
}

.adm-me:hover {
  background: var(--mt-surface);
  color: var(--mt-accent-text);
}

.adm-me .mt-avatar {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  font-size: 8px;
  font-weight: 700;
}

.adm-me__name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Page title */
.adm-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 56px;
  height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid var(--mt-border-light);
  background: var(--mt-surface);
}

.adm-titlebar h1 {
  margin: 0;
  color: var(--mt-accent-text);
  font-family: var(--mt-font-light);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.005em;
}

.adm-titlebar__org {
  color: var(--mt-text-tertiary);
  font-size: 12px;
}

/* Body: primary nav + content */
.adm-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.adm-prinav {
  flex: 0 0 200px;
  width: 200px;
  min-height: 0;
  padding-top: 9px;
  overflow: auto;
  background: var(--mt-bg);
  font-size: 15px;
  line-height: 22px;
}

.adm-prinav__item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 30px;
  margin: 0 0 11px;
  padding: 4px 10px 4px 20px;
  border: 0;
  background: transparent;
  color: var(--mt-text-secondary);
  font-family: var(--mt-font-light);
  font-size: 15px;
  font-weight: 300;
  text-align: left;
}

.adm-prinav__item .icon {
  flex: 0 0 16px;
  color: var(--mt-text-tertiary);
  font-size: 15px;
  text-align: center;
}

.adm-prinav__item:hover {
  background: var(--mt-selected);
  color: var(--mt-accent-text);
}

.adm-prinav__item.is-selected {
  background: var(--mt-selected);
  color: var(--mt-accent-text);
  font-weight: 400;
}

.adm-prinav__item.is-selected .icon {
  color: var(--mt-accent-text);
}

.adm-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  margin-left: 40px;
  padding-right: 5px;
}

.adm-secnav {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 38px;
  height: 38px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  border-bottom: 1px solid var(--mt-border-light);
  background: var(--mt-surface);
  font-family: var(--mt-font-light);
  font-size: 18px;
  font-weight: 300;
  white-space: nowrap;
}

.adm-secnav::-webkit-scrollbar {
  height: 0;
  display: none;
}

.adm-secnav__item {
  position: relative;
  flex: 0 0 auto;
  padding: 0 2px 7px;
  border: 0;
  background: transparent;
  color: var(--mt-text-secondary);
  font: inherit;
}

.adm-secnav__item:hover {
  color: var(--mt-accent-text);
}

.adm-secnav__item.is-selected {
  color: var(--mt-accent-text);
}

.adm-secnav__item.is-selected::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: -1px;
  left: 2px;
  height: 2px;
  background: var(--mt-accent);
}

.adm-main {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 0 14px 0;
  overflow: auto;
  outline: none;
}

/* Page frame */
.adm-page {
  min-height: 0;
}

.adm-pagehead {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 2px 0 12px;
}

.adm-pagehead__text {
  flex: 1 1 auto;
  min-width: 0;
}

.adm-pagehead h2 {
  margin: 0;
  color: var(--mt-text);
  font-family: var(--mt-font-light);
  font-size: 18px;
  font-weight: 300;
}

.adm-pagehead p {
  max-width: 900px;
  margin: 4px 0 0;
  color: var(--mt-text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.adm-pagehead__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* List surface */
.adm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid var(--mt-border);
  border-bottom: 0;
  background: var(--mt-surface);
}

.adm-toolbar__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 9px;
  border: 0;
  background: transparent;
  color: var(--mt-text-secondary);
  font-size: 12px;
}

.adm-toolbar__action .icon {
  color: var(--mt-text-secondary);
  font-size: 15px;
}

.adm-toolbar__action:hover {
  background: var(--mt-selected);
  color: var(--mt-text);
}

.adm-toolbar__action.is-primary {
  color: var(--mt-accent-text);
  font-weight: 600;
}

.adm-toolbar__action.is-primary .icon {
  color: var(--mt-accent-text);
}

.adm-toolbar__sep {
  width: 1px;
  height: 22px;
  margin: 0 5px;
  background: var(--mt-border);
}

.adm-search {
  display: flex;
  align-items: center;
  margin-left: auto;
  height: 26px;
  width: 240px;
  border: 1px solid var(--mt-border-strong);
  background: var(--mt-surface);
}

.adm-search:focus-within {
  border-color: var(--mt-accent);
  box-shadow: 0 0 0 1px #0072c6;
}

.adm-search .icon {
  flex: 0 0 auto;
  padding: 0 6px;
  color: var(--mt-text-secondary);
  font-size: 13px;
}

.adm-search input {
  min-width: 0;
  flex: 1 1 auto;
  height: 24px;
  padding: 0 4px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--mt-text);
  font-size: 12px;
}

.adm-search input::placeholder {
  color: var(--mt-text-disabled);
}

.adm-masterdetail {
  display: flex;
  min-height: 420px;
  border: 1px solid var(--mt-border);
  background: var(--mt-surface);
}

.adm-listwrap {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  overflow-x: auto;
}

.adm-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}

.adm-grid th {
  height: 26px;
  padding: 4px 8px;
  border-bottom: 1px solid var(--mt-border);
  background: var(--mt-border);
  color: var(--mt-text);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-grid td {
  height: 32px;
  padding: 4px 8px;
  border-bottom: 1px solid var(--mt-border-light);
  color: var(--mt-text);
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-grid tbody tr {
  cursor: pointer;
}

.adm-grid tbody tr:hover {
  background: var(--mt-accent-wash);
}

.adm-grid tbody tr.is-selected,
.adm-grid tbody tr.is-selected:hover {
  background: var(--mt-accent);
  color: var(--mt-on-accent);
  font-weight: 600;
}

.adm-grid tbody tr.is-selected td {
  color: var(--mt-on-accent);
}

.adm-grid tbody tr.is-selected .adm-grid__status {
  color: var(--mt-on-accent);
}

.adm-compact .adm-grid td {
  height: 26px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.adm-compact .adm-grid th {
  height: 24px;
}


.adm-grid__status {
  color: var(--mt-text-secondary);
  font-weight: 400;
}

.adm-grid__status--ok {
  color: #107c10;
}

.adm-grid__status--warn {
  color: var(--mt-warning-text);
}

.adm-grid__status--bad {
  color: var(--mt-danger);
}

.adm-liststatus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  padding: 4px 8px;
  color: var(--mt-text-secondary);
  font-size: 11px;
}

.adm-listempty {
  padding: 40px 20px;
  color: var(--mt-text-secondary);
  font-size: 12px;
  text-align: center;
}

/* Details pane */
.adm-details {
  flex: 0 0 30%;
  min-width: 240px;
  max-width: 380px;
  padding: 14px 16px;
  border-left: 1px solid var(--mt-border);
  background: var(--mt-surface);
}

.adm-details__head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mt-border-light);
}

.adm-details__head .mt-avatar {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  font-size: 14px;
  background: var(--mt-accent);
}

.adm-details__title {
  flex: 1 1 auto;
  min-width: 0;
}

.adm-details__title h3 {
  margin: 0;
  overflow: hidden;
  color: var(--mt-text);
  font-family: var(--mt-font-light);
  font-size: 16px;
  font-weight: 300;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-details__subtitle {
  overflow: hidden;
  margin-top: 2px;
  color: var(--mt-text-secondary);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-details__badge {
  display: inline-block;
  margin-top: 6px;
  padding: 1px 6px;
  border: 1px solid var(--mt-border);
  background: var(--mt-hover);
  color: var(--mt-text-secondary);
  font-size: 10px;
}

.adm-details__section {
  padding-top: 12px;
}

.adm-details__section h4 {
  margin: 0 0 6px;
  color: var(--mt-text);
  font-family: var(--mt-font-light);
  font-size: 13px;
  font-weight: 300;
}

.adm-details__field {
  margin-bottom: 7px;
}

.adm-details__label {
  color: var(--mt-text-secondary);
  font-size: 10.5px;
}

.adm-details__value {
  overflow: hidden;
  color: var(--mt-text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-details__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 180px;
  color: var(--mt-text-tertiary);
  font-size: 12px;
  text-align: center;
}

.adm-details__more {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--mt-border-light);
}

/* Overview */
.adm-toplists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0 20px;
  max-width: 1060px;
}

.adm-tile {
  display: block;
  color: inherit;
  text-decoration: none;
}

.adm-tile:hover,
.adm-tile:focus-visible {
  border-color: var(--mt-accent);
}

.adm-tile--warn {
  border-left: 3px solid #edbf0e;
}

.adm-tile--bad {
  border-left: 3px solid var(--mt-danger);
}

.adm-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border: 1px solid var(--mt-warning-border);
  background: var(--mt-warning-bg);
  color: var(--mt-warning-text);
}

.adm-banner a {
  margin-left: auto;
  color: inherit;
  text-decoration: underline;
}

.adm-statuspanel {
  max-width: 1060px;
  margin: 6px 0 12px;
  border: 1px solid var(--mt-border);
  background: var(--mt-surface);
}

.adm-statuspanel h2 {
  margin: 0;
  padding: 8px 12px;
  border-bottom: 1px solid var(--mt-border);
  background: var(--mt-border);
  color: var(--mt-text);
  font-size: 12px;
  font-weight: 600;
}

.adm-statusrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  border-bottom: 1px solid var(--mt-border-light);
  font-size: 12px;
}

.adm-statusrow:last-child {
  border-bottom: 0;
}

.adm-statusrow__value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mt-text-secondary);
}

.adm-statusdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #107c10;
}

.adm-statusdot--warn {
  background: #edbf0e;
}

.adm-statusdot--bad {
  background: var(--mt-danger);
}

/* Stats */
.adm-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.adm-metric {
  padding: 12px 14px;
  border: 1px solid var(--mt-border);
  background: var(--mt-surface);
}

.adm-metric__label {
  color: var(--mt-text-secondary);
  font-size: 11px;
}

.adm-metric__value {
  margin-top: 2px;
  color: var(--mt-text);
  font-family: var(--mt-font-light);
  font-size: 24px;
  font-weight: 300;
}

.adm-metric__hint {
  margin-top: 1px;
  color: var(--mt-text-tertiary);
  font-size: 10.5px;
}

/* Forms */
.adm-form {
  max-width: 940px;
  border: 1px solid var(--mt-border);
  background: var(--mt-surface);
}

.adm-form__intro {
  padding: 12px 16px;
  border-bottom: 1px solid var(--mt-border-light);
  color: var(--mt-text-secondary);
  font-size: 12px;
  line-height: 17px;
}

.adm-form__section {
  padding: 14px 16px 6px;
  border-bottom: 1px solid var(--mt-border-light);
}

.adm-form__section:last-of-type {
  border-bottom: 0;
}

.adm-form__section h3 {
  margin: 0 0 10px;
  color: var(--mt-text);
  font-family: var(--mt-font-light);
  font-size: 15px;
  font-weight: 300;
}

.adm-field {
  display: grid;
  grid-template-columns: 220px minmax(180px, 380px);
  gap: 10px;
  align-items: start;
  margin-bottom: 12px;
}

.adm-field__label {
  padding-top: 4px;
  color: var(--mt-text-secondary);
  font-size: 12px;
  text-align: left;
}

.adm-field__control {
  min-width: 0;
}

.adm-field__control .mt-input,
.adm-field__control .mt-select,
.adm-field__control .mt-textarea {
  min-height: 26px;
  border-color: var(--mt-border);
  font-size: 12px;
}

.adm-field__control .mt-textarea {
  min-height: 74px;
}

.adm-field__help {
  margin-top: 3px;
  color: var(--mt-text-tertiary);
  font-size: 10.5px;
  line-height: 14px;
}

.adm-field__readonly {
  padding-top: 5px;
  color: var(--mt-text-secondary);
  font-size: 12px;
}

.adm-form__notice {
  margin: 12px 16px;
  padding: 9px 11px;
  border: 1px solid var(--mt-warning-border);
  background: var(--mt-warning-bg);
  color: var(--mt-warning-text);
  font-size: 11px;
  line-height: 15px;
}

/* Fields placed straight in a form (no section) get the section's inset. */
.adm-form:not(.adm-tracebar) > .adm-field,
.adm-form:not(.adm-tracebar) > .adm-field__help {
  margin-right: 16px;
  margin-left: 16px;
}

.adm-form:not(.adm-tracebar) > .adm-field:first-child {
  margin-top: 14px;
}

.adm-form__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 12px 16px;
  border-top: 1px solid var(--mt-border-light);
  background: var(--mt-hover);
}

/* Footer */
.adm-footer {
  display: flex;
  align-items: center;
  flex: 0 0 30px;
  height: 30px;
  padding: 0 10px;
  border-top: 1px solid var(--mt-border);
  background: var(--mt-selected);
  color: var(--mt-text-secondary);
  font-size: 11px;
}

.adm-footer__sep {
  padding: 0 8px;
  color: var(--mt-text-disabled);
}

.adm-footer__spacer {
  flex: 1 1 auto;
}

.adm-footer__link {
  color: var(--mt-accent-text);
}

/* Responsive */
@media (max-width: 1000px) {
  .adm-prinav {
    flex-basis: 56px;
    width: 56px;
  }

  .adm-prinav__item {
    justify-content: center;
    padding: 7px 0;
    font-size: 0;
  }

  .adm-prinav__item .icon {
    flex-basis: auto;
    font-size: 17px;
  }

  .adm-content {
    margin-left: 16px;
  }

  .adm-details {
    flex-basis: 34%;
    min-width: 220px;
  }
}

@media (max-width: 760px) {
  .adm-content {
    margin-left: 10px;
    padding-right: 10px;
  }

  .adm-titlebar {
    padding: 0 12px;
  }

  .adm-me__name,
  .adm-topbar__tenant {
    display: none;
  }

  .adm-pagehead {
    flex-direction: column;
  }

  .adm-masterdetail {
    flex-direction: column;
  }

  .adm-details {
    flex-basis: auto;
    max-width: none;
    border-top: 1px solid var(--mt-border);
    border-left: 0;
  }

  .adm-field {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  /* Narrow tables scroll sideways instead of squeezing their columns together. */
  .adm-listwrap .adm-grid {
    min-width: 600px;
  }

  .adm-search {
    width: 100%;
    margin-left: 0;
  }
}

/* Sign-in, empty states and live-data helpers */
/* The shared sign-in screen in a darker red, so admin is never mistaken for webmail. */
.adm-login {
  --login-accent: #b91c1c;
  --login-accent-ink: #fff;
  --login-accent-text: #f87171;
  --login-dot: rgba(185, 28, 28, 0.4);
  --login-soft: rgba(185, 28, 28, 0.16);
  --login-soft-hover: rgba(185, 28, 28, 0.28);
}

.adm-login__error {
  min-height: 18px;
  color: #fca5a5;
  font-size: 13px;
  line-height: 18px;
}

.adm-login__error:empty {
  min-height: 0;
  margin-top: -12px;
}

.adm-empty {
  min-height: 260px;
  text-align: center;
}

.adm-empty p {
  max-width: 460px;
  margin: 0;
  color: var(--mt-text-secondary);
  font-size: 13px;
  line-height: 19px;
}

.adm-section {
  margin-top: 16px;
}

.adm-section .adm-masterdetail {
  min-height: 160px;
}

.adm-order {
  margin: 0 16px;
  padding: 0;
  list-style: none;
}

.adm-order__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-bottom: 1px solid var(--mt-border, #e1dfdd);
  cursor: grab;
}

.adm-order__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-order__meta {
  color: var(--mt-text-secondary);
  font-size: 11px;
}

.adm-section__title {
  margin: 0 0 8px;
  color: var(--mt-text);
  font-family: var(--mt-font-light);
  font-size: 15px;
  font-weight: 300;
}

.adm-pem {
  min-height: 110px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
}

.adm-dialog__text {
  margin: 0;
  font-size: 13px;
  line-height: 19px;
}

.adm-form--dialog {
  border: 0;
}

.adm-details__more {
  display: flex;
  gap: 8px;
}

/* End-user quarantine page (/quarantine/) */
.quarantine-page {
  max-width: 960px;
  margin: 32px auto;
  padding: 0 16px;
}

.quarantine-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.quarantine-table th,
.quarantine-table td {
  padding: 8px;
  border-bottom: 1px solid var(--mt-border, var(--mt-border));
  text-align: left;
}

.quarantine-table td .mt-btn + .mt-btn {
  margin-left: 6px;
}

/* Reporting charts (SVG bars). */
.adm-chart {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
}

.adm-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 6px 0 0 44px;
  font-size: 12px;
  color: var(--mt-text-secondary);
}

.adm-chart__key {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Theme colours (light and dark) for the SVG grid and axis labels. */
.adm-chart__grid {
  stroke: var(--mt-border-light);
}

.adm-chart__axis {
  fill: var(--mt-text-secondary);
}

.adm-chart__table {
  margin: 6px 0 0 44px;
  font-size: 12px;
  color: var(--mt-text-secondary);
}

.adm-chart__table summary {
  cursor: pointer;
}

/* Message trace search bar. */
.adm-tracebar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 16px;
  margin-bottom: 12px;
  padding: 10px 12px;
}

/* Filter fields sit side by side, each with its label above the control. */
.adm-tracebar .adm-field {
  grid-template-columns: minmax(160px, 220px);
  gap: 3px;
  min-width: 160px;
  margin-bottom: 0;
}

.adm-log {
  max-height: 60vh;
  overflow: auto;
  padding: 12px;
  font: 12px/1.5 Consolas, "Courier New", monospace;
  white-space: pre-wrap;
  word-break: break-all;
  background: var(--mt-surface-alt, var(--mt-bg));
  border: 1px solid var(--mt-border, var(--mt-border));
}

/* Bulk action results (mailboxes page). */
.adm-bulk {
  max-height: 40vh;
  overflow: auto;
  padding-left: 20px;
}

.adm-bulk__failed {
  color: var(--mt-danger);
}

/* Device setup QR codes: black on white so they scan in the dark theme too. */
.adm-qr {
  display: block;
  margin: 8px 0;
  background: #fff;
  border-radius: 4px;
}
