body.public-page {
  background-color: #e9edf3;
  background-image:
    linear-gradient(rgb(116 126 142 / 7%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(116 126 142 / 7%) 1px, transparent 1px);
  background-size: 36px 36px;
}

.heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-scope {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  gap: 7px;
}

.account-scope svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.public-gate {
  position: relative;
  min-height: 100vh;
  padding: 32px 18px;
  align-content: center;
  isolation: isolate;
}

.public-gate::before {
  position: fixed;
  z-index: -1;
  inset: 24px;
  border: 1px solid rgb(105 114 128 / 12%);
  content: '';
  pointer-events: none;
}

.public-auth {
  position: relative;
  width: min(432px, 100%);
  padding: 0 32px 28px;
  overflow: hidden;
  border: 1px solid #cfd5de;
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 34px 70px -38px rgb(26 35 51 / 55%),
    0 12px 28px -22px rgb(26 35 51 / 32%);
  text-align: center;
}

.public-auth::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  content: '';
}

.public-auth__chrome {
  display: flex;
  min-height: 54px;
  margin: 0 -32px 27px;
  padding: 3px 19px 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e3e7ed;
  background: #f7f9fc;
  color: #737a86;
  font-size: 9px;
  font-weight: 700;
}

.public-auth__secure {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.public-auth__secure > span {
  width: 7px;
  height: 7px;
  border: 2px solid #d9f3df;
  border-radius: 50%;
  background: var(--green);
  box-sizing: content-box;
}

.public-auth__protocol {
  font-family: SFMono-Regular, Consolas, monospace;
}

.public-auth__mark {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid #cfd5de;
  border-radius: 8px;
  background: #f5f8fc;
  color: #1f2937;
  box-shadow:
    0 14px 24px -17px rgb(27 37 55 / 48%),
    0 0 0 6px #f8fafc;
}

.public-auth__main-icon {
  width: 31px;
  height: 31px;
}

.public-auth__mark > span {
  position: absolute;
  right: -7px;
  bottom: -7px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 12px rgb(0 113 227 / 28%);
}

.public-auth__lock-icon {
  width: 12px;
  height: 12px;
}

.public-auth__heading .eyebrow {
  margin-bottom: 7px;
}

.public-auth__heading h1 {
  margin-bottom: 6px;
  font-size: 29px;
  font-weight: 720;
}

.public-auth__heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.password-hint {
  display: flex;
  min-height: 58px;
  width: 100%;
  margin: 22px 0 0;
  padding: 10px 12px;
  align-items: center;
  border: 1px solid #cfe1f7;
  border-radius: 7px;
  background: #f4f8fd;
  color: var(--ink);
  text-align: left;
  gap: 11px;
}

.password-hint__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid #f1d9ad;
  border-radius: 7px;
  background: #fff6e6;
  color: #a85b00;
}

.password-hint__icon svg {
  width: 15px;
  height: 15px;
}

.password-hint__copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.password-hint__copy small {
  color: var(--soft-muted);
  font-size: 9px;
  font-weight: 650;
}

.password-hint__copy strong {
  overflow: hidden;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-pin-form {
  display: grid;
  margin-top: 24px;
  justify-items: center;
}

.public-pin {
  position: relative;
  display: grid;
  cursor: text;
  grid-template-columns: repeat(4, 62px);
  gap: 10px;
}

.public-auth .public-pin__input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  caret-color: transparent;
  color: transparent;
  font-size: 16px;
  -webkit-text-fill-color: transparent;
}

.public-auth .public-pin__input:hover,
.public-auth .public-pin__input:focus,
.public-auth .public-pin__input:focus-visible {
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.public-pin__cell {
  position: relative;
  display: block;
  width: 62px;
  height: 68px;
  border: 1px solid #cfd5de;
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 10px 20px -16px rgb(27 37 55 / 48%),
    0 1px 0 #fff inset;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.public-pin__cell::after {
  position: absolute;
  top: 6px;
  right: 7px;
  color: #a0a6b0;
  content: attr(data-position);
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
}

.public-pin__cell::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: #20242c;
  content: '';
  opacity: 0;
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.public-pin__cell.is-filled::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.public-pin__cell.is-active {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px rgb(0 113 227 / 13%),
    0 12px 22px -15px rgb(0 113 227 / 55%);
}

.public-pin-form.is-error .public-pin__cell {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgb(255 59 48 / 12%);
}

.public-pin-form.is-success .public-pin__cell {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgb(40 167 69 / 12%);
}

.public-pin-form.is-submitting .public-pin {
  pointer-events: none;
}

.public-pin-form.is-submitting .public-pin__cell {
  opacity: 0.72;
}

.public-pin-form .form-message {
  min-height: 19px;
  margin: 10px 0 0;
  font-size: 12px;
}

.public-auth__trust {
  display: flex;
  width: 100%;
  min-height: 38px;
  margin-top: 3px;
  padding-top: 13px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e7e9ee;
  color: #7b828d;
  font-size: 9px;
}

.public-auth__trust > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.public-auth__trust svg {
  width: 12px;
  height: 12px;
  color: var(--green);
}

.public-auth__trust strong {
  color: var(--ink);
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 9px;
}

.public-gate__foot {
  margin: 18px 0 0;
  color: #747c88;
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 9px;
}

.public-shell.public-shell--app {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  padding: 34px 0 38px;
  gap: 24px;
}

.public-overview {
  overflow: visible;
  border: 0;
  border-bottom: 1px solid #d9dde5;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.public-header {
  min-height: 88px;
  padding: 4px 0 20px;
  border: 0;
}

.public-title-lockup {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.public-title-lockup__mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid #d9dde5;
  border-radius: 8px;
  background: #fff;
  color: #20242c;
  box-shadow: 0 8px 18px -15px rgb(27 37 55 / 45%);
}

.public-title-lockup__icon {
  width: 21px;
  height: 21px;
}

.public-title-lockup .eyebrow {
  margin-bottom: 4px;
}

.public-title-lockup h1 {
  margin-bottom: 3px;
  font-size: 23px;
  font-weight: 680;
}

.public-stats {
  display: flex;
  min-height: 58px;
  padding: 13px 0;
  align-items: center;
  gap: 0;
}

.public-stats > div {
  display: grid;
  min-height: 33px;
  margin: 0;
  padding: 0 24px;
  align-content: center;
  border: 0;
  border-right: 1px solid #d9dde5;
  background: transparent;
  gap: 0;
}

.public-stats > div:first-child {
  padding-left: 0;
}

.public-stats > div:last-child {
  border-right: 0;
}

.public-stats span {
  color: var(--soft-muted);
  font-size: 10px;
}

.public-stats strong {
  color: var(--ink);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.public-stats .public-meta {
  min-height: 33px;
  margin-left: auto;
  padding-right: 0;
  align-items: end;
  gap: 2px;
}

.privacy-note {
  display: inline-flex;
  align-items: center;
  color: var(--accent) !important;
  font-weight: 650;
  gap: 5px;
}

.privacy-note__icon {
  width: 13px;
  height: 13px;
}

.public-meta time {
  color: var(--soft-muted);
  font-size: 10px;
}

.public-account-section {
  display: grid;
  gap: 12px;
}

.account-list-heading {
  min-height: 50px;
  padding: 0;
  align-items: end;
}

.account-list-heading .eyebrow {
  margin-bottom: 3px;
}

.account-list-heading h2 {
  margin: 0;
  font-size: 17px;
}

.account-list-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-order {
  display: inline-flex;
  min-height: 28px;
  padding: 4px 9px;
  align-items: center;
  border: 1px solid #d6dce5;
  border-radius: 6px;
  background: #f8fafc;
  color: #616975;
  font-size: 9px;
  font-weight: 650;
  gap: 5px;
}

.account-order svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

.page-state {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.page-state[data-kind='error'] {
  color: var(--danger);
}

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

.account-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d5dae2;
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 16px 30px -25px rgb(27 37 55 / 60%),
    0 2px 6px -5px rgb(27 37 55 / 22%);
  animation: account-reveal 280ms ease-out both;
  animation-delay: var(--account-reveal-delay, 0ms);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.account-card::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: '';
}

@keyframes account-reveal {
  from {
    transform: translateY(7px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.account-card:hover {
  border-color: #c5d8ef;
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -25px rgb(27 37 55 / 68%);
}

.account-card > header {
  display: flex;
  min-height: 64px;
  padding: 13px 14px 11px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eceef2;
  background: #fafbfc;
  gap: 10px;
}

.account-card__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.account-card__identity-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.account-card__identity small {
  color: #8a919c;
  font-size: 7px;
  font-weight: 700;
}

.account-card__glyph {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid #d5e5f8;
  border-radius: 7px;
  background: #eef5ff;
  color: var(--accent);
}

.account-card__glyph svg {
  width: 14px;
  height: 14px;
}

.account-id {
  color: var(--ink);
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.account-status {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  gap: 6px;
}

.account-card.is-normal .account-status {
  color: #238636;
}

.account-card.is-abnormal .account-status {
  color: #d92d20;
}

.account-card .account-credentials {
  display: grid;
  min-height: 184px;
  margin: 0;
  padding: 0 14px;
  align-content: center;
  gap: 0;
}

.account-detail {
  display: block;
  min-width: 0;
  min-height: 86px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f1f4;
}

.account-detail:last-child {
  border-bottom: 0;
}

.account-detail dt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--soft-muted);
  font-size: 9px;
}

.account-detail__label {
  display: inline-flex;
  align-items: center;
  color: #626a76;
  font-weight: 650;
  gap: 5px;
}

.account-detail dt svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

.account-detail dt small {
  color: #9aa1ab;
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
}

.account-card .account-value,
.account-card .account-secret-frame {
  display: flex;
  min-width: 0;
  min-height: 42px;
  margin: 7px 0 0;
  padding: 7px 8px 7px 10px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #dfe3e9;
  border-radius: 7px;
  background: #fafbfc;
  gap: 7px;
}

.account-card .account-secret-frame {
  border-color: #cbdff7;
  background: #f2f7fd;
}

.account-card [data-account-username] {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-card .account-secret {
  min-width: 0;
  flex: 1;
  color: #173b67;
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

.account-copy {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 0;
  place-items: center;
  border: 1px solid #d9e8fa;
  border-radius: 6px;
  background: #fff;
  color: var(--accent);
  cursor: pointer;
}

.account-copy:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.account-copy.is-copied {
  border-color: var(--green);
  background: #edf8f0;
  color: #238636;
}

.account-copy__icon {
  width: 13px;
  height: 13px;
}

.account-card > .account-meta {
  display: flex;
  min-height: 43px;
  padding: 9px 13px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eceef2;
  background: #f7f8fa;
  color: var(--soft-muted);
  gap: 10px;
}

.account-meta__item {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  font-size: 9px;
  gap: 5px;
}

.account-meta__icon {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

[data-account-region],
[data-account-time] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-meta__item--time {
  justify-content: flex-end;
}

.account-grid > .empty-state {
  grid-column: 1 / -1;
  border: 1px dashed #d9dde5;
  border-radius: 8px;
  background: #f7f8fa;
}

.public-page-footer {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  color: #8b9099;
  font-size: 10px;
  gap: 6px;
}

.public-page-footer__icon {
  width: 12px;
  height: 12px;
}

body.has-login-warning {
  overflow: hidden;
}

.login-warning {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  isolation: isolate;
  opacity: 1;
  transition: opacity 180ms ease;
}

.login-warning__backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(20 27 39 / 54%);
  backdrop-filter: blur(5px);
}

.login-warning__panel {
  width: min(430px, 100%);
  max-height: calc(100dvh - 48px);
  padding: 28px;
  overflow-y: auto;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 30px 70px -28px rgb(15 23 42 / 62%),
    0 8px 24px -14px rgb(15 23 42 / 36%);
  text-align: center;
  animation: login-warning-enter 220ms ease-out both;
  transition: transform 180ms ease;
}

.login-warning__mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 17px;
  place-items: center;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff1f1;
  color: #dc2626;
  box-shadow: 0 0 0 6px #fff7f7;
}

.login-warning__mark-icon {
  width: 25px;
  height: 25px;
  stroke-width: 2;
}

.login-warning__heading .eyebrow {
  margin-bottom: 6px;
  color: #a23832;
}

.login-warning__heading h2 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 720;
}

.login-warning__content {
  display: grid;
  margin-bottom: 18px;
  text-align: left;
  gap: 10px;
}

.login-warning__primary,
.login-warning__liability {
  display: flex;
  margin: 0;
  align-items: flex-start;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.65;
  gap: 10px;
}

.login-warning__primary {
  padding: 12px 13px;
  border: 1px solid #cfe1f7;
  background: #f4f8fd;
  color: #234363;
  font-weight: 650;
}

.login-warning__inline-icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 17px;
}

.login-warning__inline-icon--primary {
  color: var(--accent);
}

.login-warning__risk {
  padding: 13px 14px 12px;
  border: 1px solid #f3cdca;
  border-radius: 7px;
  background: #fff8f7;
  color: #4a3030;
  font-size: 13px;
  line-height: 1.65;
}

.login-warning__risk strong {
  color: #c92720;
  font-weight: 750;
}

.login-warning__risk ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

.login-warning__risk li::marker {
  color: #dc2626;
}

.login-warning__liability {
  padding: 10px 12px;
  border: 1px solid #f0d9ad;
  background: #fffaee;
  color: #81510d;
  font-size: 12px;
}

.login-warning__confirm {
  width: 100%;
  min-height: 46px;
  font-size: 14px;
}

.login-warning__confirm:disabled {
  border-color: #bbc2cc;
  background: #bbc2cc;
  box-shadow: none;
  color: #fff;
  cursor: not-allowed;
  opacity: 1;
}

.login-warning.is-closing {
  pointer-events: none;
  opacity: 0;
}

.login-warning.is-closing .login-warning__panel {
  transform: translateY(7px) scale(0.985);
}

@keyframes login-warning-enter {
  from {
    transform: translateY(10px) scale(0.985);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.audit-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 7px 22px -18px rgb(16 24 40 / 28%);
}

.audit-toolbar {
  display: flex;
  min-height: 76px;
  padding: 15px 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}

.audit-toolbar h2 {
  margin-bottom: 3px;
}

.audit-filters {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f6f7f9;
  gap: 2px;
}

.audit-filters button {
  min-width: 50px;
  min-height: 29px;
  padding: 4px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}

.audit-filters button:hover {
  color: var(--ink);
}

.audit-filters button.is-active {
  background: #fff;
  box-shadow: 0 1px 3px rgb(16 24 40 / 12%);
  color: var(--ink);
}

.audit-stream__head,
.audit-row {
  display: grid;
  align-items: center;
  grid-template-columns: 42px minmax(220px, 1fr) minmax(150px, 0.6fr) 150px;
  gap: 12px;
}

.audit-stream__head {
  min-height: 38px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
  color: var(--soft-muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.audit-row {
  min-height: 68px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
  transition: background-color 150ms ease;
}

.audit-row[hidden] {
  display: none;
}

.audit-row:hover {
  background: #f8fafc;
}

.audit-row__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #d7e6f8;
  border-radius: 8px;
  background: #edf5ff;
  color: #0969da;
}

.audit-row--security .audit-row__icon {
  border-color: #d8eadc;
  background: #edf8f0;
  color: #238636;
}

.audit-row--api .audit-row__icon {
  border-color: #f1dfbe;
  background: #fff6e8;
  color: #a85b00;
}

.audit-row--general .audit-row__icon {
  border-color: var(--line);
  background: #f5f6f8;
  color: var(--muted);
}

.audit-row__glyph {
  width: 16px;
  height: 16px;
}

.audit-row__event {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.audit-row__title,
.audit-row__context {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-row__title {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.audit-row__context {
  color: var(--soft-muted);
  font-size: 10px;
}

.audit-row__ip,
.audit-row__time {
  color: var(--muted);
  font-size: 10px;
}

.audit-row__ip {
  width: fit-content;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fafbfc;
}

.audit-stream > .empty-state {
  min-height: 210px;
}

.audit-stream > [data-audit-empty][hidden] {
  display: none;
}

@media (width <= 980px) {
  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 760px) {
  .heading-actions {
    width: 100%;
  }

  .heading-actions .button {
    flex: 1;
    white-space: nowrap;
  }

  .account-picker .form-section__heading {
    align-items: stretch;
    flex-direction: column;
  }

  .public-shell.public-shell--app {
    width: min(100% - 28px, 680px);
    padding-top: 24px;
  }

  .public-header {
    align-items: flex-start;
  }

  .public-stats {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .public-stats > div {
    width: 33.333%;
    padding: 0 12px;
  }

  .public-stats .public-meta {
    width: 100%;
    min-height: 38px;
    margin-top: 10px;
    padding: 9px 0 0;
    align-items: start;
    border-top: 1px solid #d9dde5;
  }

  .account-grid {
    grid-template-columns: 1fr;
  }

  .audit-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .audit-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .audit-filters button {
    min-width: 0;
  }

  .audit-stream__head {
    display: none;
  }

  .audit-row {
    min-height: 78px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .audit-row__ip {
    display: none;
  }

  .audit-row__time {
    text-align: right;
  }
}

@media (width <= 520px) {
  .login-warning {
    padding: 14px;
  }

  .login-warning__panel {
    max-height: calc(100dvh - 28px);
    padding: 23px 18px 18px;
  }

  .login-warning__mark {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .login-warning__heading h2 {
    margin-bottom: 17px;
    font-size: 20px;
  }

  .login-warning__risk {
    padding-right: 12px;
    padding-left: 12px;
  }

  .public-gate::before {
    inset: 10px;
  }

  .public-auth {
    padding: 0 20px 22px;
  }

  .public-auth__chrome {
    margin: 0 -20px 24px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .public-auth__mark {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
  }

  .public-auth__heading h1 {
    font-size: 26px;
  }

  .password-hint {
    margin-top: 19px;
  }

  .public-pin {
    grid-template-columns: repeat(4, minmax(45px, 52px));
    gap: 8px;
  }

  .public-pin__cell {
    width: 100%;
    height: 62px;
  }

  .public-header {
    gap: 14px;
  }

  .public-header > .button {
    width: auto;
    align-self: flex-end;
  }

  .public-title-lockup h1 {
    font-size: 21px;
  }

  .account-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .account-list-meta {
    width: 100%;
    justify-content: space-between;
  }

  .page-state {
    text-align: left;
  }

  .audit-row {
    align-items: start;
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .audit-row__time {
    grid-column: 2;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-card,
  .audit-row,
  .login-warning,
  .login-warning__panel,
  .public-pin__cell,
  .public-pin__cell::before {
    transition: none;
  }

  .account-card {
    animation: none;
  }

  .login-warning__panel {
    animation: none;
  }
}
