@font-face {
  font-family: "Danzza";
  src: url("../fonts/Danzza-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Danzza";
  src: url("../fonts/Danzza-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Danzza";
  src: url("../fonts/Danzza-Bold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: #f5f5f4;
  color: #363636;
  font-family: "Danzza", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
h1,
h2 {
  margin: 0 0 16px;
  color: #261f43;
  font-weight: 500;
  line-height: 1.2;
}
strong {
  font-weight: 500;
}
h1 {
  font-size: 28px;
}
h2 {
  font-size: 18px;
}
a {
  color: #8f2a1d;
}
a:hover {
  color: #6d2016;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.main {
  padding-top: 8px;
  padding-bottom: 64px;
}
.main:focus {
  outline: none;
}
.site-header {
  background: transparent;
  border-bottom: 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.site-header__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-header__brand img {
  display: block;
  height: 36px;
  width: auto;
}
.site-header__user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header__email {
  color: #6b6b6b;
  font-size: 13px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #e2e0dc;
  border-radius: 999px;
  background: #ffffff;
  color: #261f43;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.avatar__icon {
  display: block;
}
.avatar:hover,
.avatar:focus-visible,
.avatar[aria-expanded="true"] {
  border-color: #8f2a1d;
  background: rgba(143, 42, 29, 0.08);
  color: #8f2a1d;
}
.avatar:focus-visible {
  outline: 2px solid rgba(143, 42, 29, 0.45);
  outline-offset: 2px;
}
.user-menu {
  position: relative;
}
.user-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 220px;
  max-width: calc(100vw - 32px);
  padding: 6px;
  border: 1px solid #e2e0dc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(38, 31, 67, 0.14);
}
.user-menu__email {
  margin: 0 0 6px;
  padding: 8px 10px 10px;
  border-bottom: 1px solid #e2e0dc;
  color: #6b6b6b;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #261f43;
  font: inherit;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.user-menu__item svg {
  flex: 0 0 auto;
  color: #6b6b6b;
}
.user-menu__item:hover,
.user-menu__item:focus-visible {
  outline: none;
  background: rgba(143, 42, 29, 0.08);
  color: #8f2a1d;
}
.user-menu__item:hover svg,
.user-menu__item:focus-visible svg {
  color: #8f2a1d;
}
.page-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.page-heading h1 {
  margin: 0;
}
.page-heading__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid #8f2a1d;
  border-radius: 8px;
  background: #8f2a1d;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover {
  border-color: #6d2016;
  background: #6d2016;
  color: #ffffff;
}
.btn:focus-visible {
  outline: 2px solid rgba(143, 42, 29, 0.45);
  outline-offset: 2px;
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.btn--outline {
  background: transparent;
  color: #8f2a1d;
}
.btn--outline:hover {
  border-color: #6d2016;
  background: rgba(143, 42, 29, 0.08);
  color: #6d2016;
}
.btn--small {
  padding: 8px 16px;
  min-height: 40px;
}
.icon-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #e2e0dc;
  border-radius: 999px;
  background: #ffffff;
  color: #261f43;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.icon-button:hover {
  border-color: #8f2a1d;
  background: rgba(143, 42, 29, 0.08);
  color: #8f2a1d;
}
.icon-button:focus-visible {
  outline: 2px solid rgba(143, 42, 29, 0.45);
  outline-offset: 2px;
}
.icon-button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.icon-button--small {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: #8f2a1d;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.link-button:hover {
  color: #6d2016;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-button:focus-visible {
  outline: 2px solid rgba(143, 42, 29, 0.45);
  outline-offset: 2px;
}
.link-button--danger {
  color: #6d2016;
}
.muted {
  color: #6b6b6b;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.toolbar__search {
  display: flex;
  flex: 1 1 280px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 420px;
}
.search {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.search svg {
  position: absolute;
  top: 50%;
  left: 14px;
  color: #6b6b6b;
  transform: translateY(-50%);
  pointer-events: none;
}
.search input {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 40px;
  border: 1px solid #e2e0dc;
  border-radius: 999px;
  background: #ffffff;
  color: #363636;
  font: inherit;
  font-size: 14px;
}
.search input:focus {
  border-color: #8f2a1d;
  outline: 2px solid rgba(143, 42, 29, 0.25);
  background: #ffffff;
}
.tabs {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #ffffff;
  color: #363636;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.tabs__tab:hover {
  border-color: rgba(38, 31, 67, 0.2);
  background: #f7f7f7;
}
.tabs__tab:focus-visible {
  outline: 2px solid rgba(143, 42, 29, 0.45);
  outline-offset: 2px;
}
.tabs__tab[aria-pressed="true"] {
  border-color: #261f43;
  background: #261f43;
  color: #ffffff;
}
.tabs__tab[aria-pressed="true"] .tabs__badge {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
.tabs__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(38, 31, 67, 0.1);
  color: #261f43;
  font-size: 12px;
  line-height: 1;
}
.card {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid #e2e0dc;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(38, 31, 67, 0.04);
}
.card--flush {
  padding: 0;
  overflow-x: auto;
}
.card__heading {
  padding: 24px 24px 0;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}
.grid > .card {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th,
.table td {
  padding: 14px 24px;
  border-bottom: 1px solid #e2e0dc;
  text-align: left;
  vertical-align: top;
}
.table th {
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 400;
}
.table__sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.table__sort::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid rgba(107, 107, 107, 0.45);
  opacity: 0.7;
}
.table__sort:hover {
  color: #261f43;
}
.table__sort:focus-visible {
  outline: 2px solid rgba(143, 42, 29, 0.45);
  outline-offset: 2px;
}
.table th[aria-sort="ascending"] .table__sort::after {
  border-bottom-color: #261f43;
  opacity: 1;
}
.table th[aria-sort="descending"] .table__sort::after {
  border-bottom: 0;
  border-top: 5px solid #261f43;
  opacity: 1;
}
.table__row {
  cursor: pointer;
  transition: background-color 0.15s;
}
.table__row:hover,
.table__row:focus-visible {
  background: rgba(38, 31, 67, 0.04);
}
.table__row:focus-visible {
  outline: 2px solid rgba(143, 42, 29, 0.45);
  outline-offset: -2px;
}
.table__row a {
  position: relative;
  z-index: 1;
}
.table tbody tr:last-child td {
  border-bottom: 0;
}
.table__empty {
  margin: 0;
  padding: 24px;
  color: #6b6b6b;
}
.table__actions {
  text-align: right;
  white-space: nowrap;
}
.table__actions .link-button + .link-button {
  margin-left: 16px;
}
.table--admins td {
  vertical-align: middle;
}
.table--admins td[data-label="Added"] {
  white-space: nowrap;
}
.list-refreshed {
  margin: 12px 0 0;
  color: rgba(107, 107, 107, 0.7);
  font-size: 12px;
  font-weight: 400;
}
.flag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff4dd;
  color: #8a5a00;
  font-size: 12px;
  font-weight: 400;
}
.flag--neutral {
  background: rgba(38, 31, 67, 0.08);
  color: #261f43;
}
.status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #363636;
  font-size: 13px;
  font-weight: 400;
  text-transform: capitalize;
}
.status--pending {
  background: #fff4dd;
  color: #8a5a00;
}
.status--approved {
  background: #e7f6ec;
  color: #1e6b3a;
}
.status--declined,
.status--suspended,
.status--admin-disabled {
  background: rgba(143, 42, 29, 0.1);
  color: #8f2a1d;
}
.status--admin-invited {
  background: #fff4dd;
  color: #8a5a00;
}
.status--admin-active {
  background: #e7f6ec;
  color: #1e6b3a;
}
.details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 24px;
  align-items: center;
  margin: 0;
}
.details dt {
  color: #6b6b6b;
  line-height: 1.35;
}
.details dd {
  margin: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.stack > .card:last-child {
  margin-bottom: 0;
}
.form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.form h2,
.form p {
  margin: 0;
}
.form__choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.form__hint {
  color: #6b6b6b;
  font-size: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.field__label {
  color: #261f43;
  font-size: 14px;
  font-weight: 400;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e0dc;
  border-radius: 8px;
  font: inherit;
}
.field input:focus {
  border-color: #8f2a1d;
  outline: 2px solid rgba(143, 42, 29, 0.25);
}
.checkbox,
.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.checkbox input,
.radio input {
  width: 18px;
  height: 18px;
  accent-color: #8f2a1d;
}
.notice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 8px;
  background: #e7f6ec;
  color: #1e6b3a;
}
.notice--error {
  background: rgba(143, 42, 29, 0.1);
  color: #8f2a1d;
}
.notice--warning {
  background: #fff4dd;
  color: #8a5a00;
}
.back-link {
  text-decoration: none;
}
.sign-in {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}
.sign-in__card {
  width: 100%;
  max-width: 460px;
  padding: 40px;
}
.sign-in__card h1 {
  margin-bottom: 8px;
  font-size: 28px;
}
.sign-in__card .notice {
  margin: 0 0 20px;
}
@media (max-width: 520px) {
  .sign-in__card {
    padding: 28px 24px;
  }
}
.sign-in__intro {
  margin: 0 0 24px;
  color: #6b6b6b;
}
.sign-in .form {
  align-items: stretch;
}
.rules {
  margin: 0;
  padding-left: 20px;
  color: #6b6b6b;
  font-size: 14px;
}
.mfa-setup__steps {
  margin: 0;
  padding-left: 20px;
  color: #363636;
  font-size: 14px;
}
.mfa-setup__steps li + li {
  margin-top: 4px;
}
.mfa-setup__qr {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 212px;
  height: 212px;
  padding: 16px;
  border: 1px solid #e2e0dc;
  border-radius: 8px;
  background: #ffffff;
}
.mfa-setup__qr img {
  display: block;
  width: 180px;
  height: 180px;
  image-rendering: pixelated;
}
.mfa-setup__loading {
  margin: 0;
  color: #6b6b6b;
  font-size: 13px;
  text-align: center;
}
.mfa-setup__manual {
  font-size: 14px;
}
.mfa-setup__manual summary {
  color: #8f2a1d;
  cursor: pointer;
}
.mfa-setup__manual summary:hover {
  color: #6d2016;
}
.mfa-setup__manual summary:focus-visible {
  outline: 2px solid rgba(143, 42, 29, 0.45);
  outline-offset: 2px;
}
.mfa-setup__key {
  display: block;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f5f5f4;
  color: #261f43;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  overflow-wrap: anywhere;
  user-select: all;
}
.ahpra {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ahpra__link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ahpra-form {
  gap: 12px;
  padding: 16px;
  border: 1px solid #e2e0dc;
  border-radius: 8px;
  background: #ffffff;
}
.ahpra-form .field input {
  padding: 10px 12px;
  background: #ffffff;
}
.ahpra-form .form__actions {
  gap: 8px;
}
.modal {
  position: fixed;
  inset: 0;
  width: min(440px, calc(100vw - 32px));
  height: fit-content;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  overflow: visible;
}
.modal::backdrop {
  background: rgba(54, 54, 54, 0.72);
}
.modal__panel {
  width: 100%;
  padding: 28px;
  border: 1px solid #e2e0dc;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  align-items: stretch;
}
.modal__panel h2 {
  margin-bottom: 8px;
}
.modal__panel p {
  margin: 0 0 8px;
  color: #6b6b6b;
}
.modal__panel .notice {
  margin: 0;
}
.modal__panel .form__actions {
  margin-top: 8px;
  justify-content: flex-end;
  width: 100%;
}
.loading {
  color: #6b6b6b;
}
@media (max-width: 900px) {
  .container {
    padding: 0 16px;
  }
  .site-header__inner {
    min-height: 64px;
  }
  .site-header__brand img {
    height: 30px;
  }
  .site-header__email {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  h1 {
    font-size: 24px;
  }
  .card {
    padding: 20px;
  }
  .card--flush {
    padding: 0;
  }
  .card__heading {
    padding: 20px 20px 0;
  }
  .table th,
  .table td {
    padding: 12px 16px;
  }
}
@media (max-width: 700px) {
  .site-header__email {
    display: none;
  }
  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .toolbar__search {
    flex: none;
    max-width: none;
    width: 100%;
  }
  .tabs {
    flex: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    margin: 0 -16px;
    padding: 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tabs__tab {
    flex: 0 0 auto;
  }
  .form__actions {
    width: 100%;
  }
  .form__actions .btn {
    flex: 1 1 auto;
  }
  .sign-in {
    padding-top: 8px;
  }
  .sign-in__card {
    padding: 24px 20px;
  }
  .modal {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }
  .modal__panel {
    padding: 22px 18px;
    overflow: auto;
  }
  .modal .form__actions {
    flex-direction: column-reverse;
  }
  .modal .form__actions .btn {
    width: 100%;
  }
  .card--flush {
    overflow-x: visible;
  }
  .table {
    display: block;
    width: 100%;
  }
  .table thead {
    display: none;
  }
  .table tbody {
    display: block;
    width: 100%;
  }
  .table tbody tr.table__row,
  .table tbody tr {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 24px;
    border-bottom: 1px solid #e2e0dc;
  }
  .table tbody tr:last-child {
    border-bottom: 0;
  }
  .table td {
    display: block;
    width: auto;
    max-width: 100%;
    padding: 0;
    border-bottom: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .table td + td {
    margin-top: 10px;
  }
  .table td::before {
    display: block;
    content: attr(data-label);
    margin-bottom: 2px;
    color: #6b6b6b;
    font-size: 12px;
    line-height: 1.3;
  }
  .card--flush .table tbody tr.table__row td::before {
    display: none;
  }
  .card--flush .table tbody tr.table__row td + td {
    margin-top: 4px;
  }
  .card--flush .table tbody tr.table__row td:nth-child(1) a {
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
  }
  .card--flush .table tbody tr.table__row td:nth-child(1) .flag {
    margin-left: 0;
    margin-right: 6px;
  }
  .card--flush .table tbody tr.table__row td:nth-child(2) {
    color: #6b6b6b;
    font-size: 13px;
  }
  .card--flush .table tbody tr.table__row td:nth-child(3),
  .card--flush .table tbody tr.table__row td:nth-child(4) {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    margin-top: 10px;
  }
  .card--flush .table tbody tr.table__row td:nth-child(3) {
    margin-right: 10px;
    font-size: 13px;
  }
  .card--flush .table tbody tr.table__row:hover,
  .card--flush .table tbody tr.table__row:focus-visible {
    background: rgba(38, 31, 67, 0.03);
  }
  .table__actions {
    text-align: left;
    white-space: normal;
  }
  .table__actions:empty {
    display: none;
  }
  .table__actions::before {
    display: none !important;
  }
  .table__actions .link-button {
    margin: 4px 16px 0 0;
  }
  .table__actions .link-button + .link-button {
    margin-left: 0;
  }
  [data-history-table] tbody tr,
  .table--activity tbody tr {
    padding: 16px 24px;
  }
  [data-history-table] td + td,
  .table--activity td + td {
    margin-top: 8px;
  }
  [data-history-table] td::before,
  .table--activity td::before {
    margin-bottom: 1px;
  }
  .details {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .details dt {
    font-size: 12px;
    padding-top: 4px;
  }
  .details dd {
    margin-bottom: 14px;
  }
  .details dd:last-child {
    margin-bottom: 0;
  }
  .ahpra {
    flex-wrap: wrap;
    gap: 8px;
  }
  .page-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .page-heading__title {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .page-heading .btn {
    width: 100%;
  }
  .grid > .card,
  .grid > .stack .card {
    padding: 18px 16px;
  }
  .card--flush .card__heading {
    padding: 18px 24px 0;
  }
}
@media (max-width: 400px) {
  .container {
    padding: 0 16px;
  }
  .tabs {
    margin: 0 -16px;
    padding: 0 16px;
  }
  .flag {
    display: block;
    margin: 6px 0 0;
    width: fit-content;
  }
}
