html {
  min-width: 320px;
  -webkit-text-size-adjust: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.site-credit {
  padding: 15px 18px 22px;
  color: #8a8490;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 0.65rem;
  line-height: 1.45;
  text-align: center;
}

.site-credit a {
  color: #563891;
  font-weight: 850;
  text-decoration: none;
}

.site-credit a:hover {
  text-decoration: underline;
}

.admin-main > .site-credit {
  width: 100%;
  margin-top: auto;
  padding: 34px 18px 0;
}

.login-panel footer.login-brand-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.login-brand-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-brand-line > span:first-of-type {
  color: #563891;
  font-weight: 800;
}

.login-panel .login-credit {
  padding: 0;
  color: #9b959f;
  background: transparent;
  font-size: 0.59rem;
}

@media (max-width: 720px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  button,
  [role="button"],
  input[type="submit"],
  input[type="button"] {
    min-height: 44px;
  }

  .users-table-wrap,
  .report-table-wrap {
    overflow: visible;
  }

  body .mobile-card-table,
  body .mobile-card-table tbody,
  body .mobile-card-table tr,
  body .mobile-card-table td {
    width: 100%;
    display: block !important;
  }

  body .mobile-card-table thead {
    display: none;
  }

  body .mobile-card-table tbody {
    padding-top: 10px;
  }

  body .mobile-card-table tr {
    margin-bottom: 11px;
    padding: 12px;
    border: 1px solid var(--line, #e8e2eb);
    border-radius: 15px;
    background: #fcfbfd;
  }

  body .mobile-card-table td {
    min-height: 36px;
    padding: 8px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #eeeaf0 !important;
    color: var(--ink, #242333);
    font-size: 0.74rem !important;
    white-space: normal !important;
  }

  body .mobile-card-table td:not(:first-child) {
    display: grid !important;
    grid-template-columns: minmax(82px, 0.36fr) minmax(0, 0.64fr) !important;
    align-items: center;
    gap: 10px;
  }

  body .mobile-card-table td::before {
    content: attr(data-label);
    color: var(--muted, #746f7e);
    font-size: 0.56rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  body .mobile-card-table td:first-child::before {
    display: none;
  }

  body .mobile-card-table td:last-child {
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  body .mobile-card-table .row-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }

  body .mobile-card-table .row-actions a,
  body .mobile-card-table .row-actions button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-credit {
    padding: 13px 14px 20px;
    font-size: 0.68rem;
  }
}
