.ma-surface {
  min-width: 0;
}
.ma-surface > .ac-panel {
  margin-block: 24px;
}
.ma-surface .ac-table td {
  vertical-align: top;
}
.ma-surface .ac-table td small {
  max-width: 360px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ma-surface .ac-filters > label:not(.ac-search) {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.ma-surface .ac-filters .ac-search > span:not(.sr-only) {
  display: block;
  font-size: 11px;
  margin-bottom: 6px;
  color: var(--muted);
}
.ma-surface .ac-filters:has([name="user_id"]) {
  align-items: flex-end;
}
.ma-form {
  max-height: none;
}
.ma-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ma-form p {
  font-size: 12px;
  line-height: 1.85;
}
.ma-form .ma-confirm-description {
  font-size: 14px;
}
.ma-form textarea {
  min-height: 100px;
  resize: vertical;
}
.ma-form input[type="file"] {
  padding: 15px;
  font-size: 12px;
  max-width: 100%;
}
.ma-form input[type="file"]::file-selector-button {
  padding: 9px 14px;
  margin-right: 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}
.ma-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-block: 22px;
  margin: 0;
}
.ma-facts > div {
  min-width: 0;
}
.ma-facts dt {
  font-size: 11px;
  color: var(--muted);
}
.ma-facts dd {
  font-size: 14px;
  margin: 7px 0 0;
  overflow-wrap: anywhere;
}
.ma-account > .ac-row-actions {
  margin-top: 20px;
}
.ma-balance {
  margin-block: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  gap: 25px;
}
.ma-balance > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ma-balance span {
  font-size: 12px;
  color: var(--muted);
}
.ma-balance strong {
  font-size: 36px;
  font-weight: 550;
  letter-spacing: -0.045em;
}
.ma-address summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--accent);
}
.ma-address p {
  white-space: pre-wrap;
  max-width: 280px;
  font-size: 12px;
  line-height: 1.85;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.ma-secrets {
  display: block;
  width: 100%;
  min-height: 170px;
  max-height: 400px;
  margin-block: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 8px;
  font:
    13px/1.9 Consolas,
    monospace;
  resize: vertical;
  overflow-wrap: normal;
}
.ma-secret-status {
  font-size: 12px;
  color: var(--muted);
  min-height: 24px;
}
.ma-media-preview {
  width: 100%;
  min-height: 180px;
  background: var(--tint);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
  display: grid;
  place-items: center;
}
.ma-media-preview img,
.ma-media-preview video {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
}
@media (max-width: 650px) {
  .ma-form-grid,
  .ma-facts {
    grid-template-columns: 1fr;
  }
  .ma-facts {
    gap: 15px;
  }
  .ma-balance {
    padding: 22px;
  }
  .ma-balance strong {
    font-size: 30px;
  }
  .ma-surface .ac-filters > label:not(.ac-search) {
    width: 100%;
    justify-content: space-between;
  }
  .ma-surface .ac-filters .ac-search {
    min-width: 0;
  }
  .ma-secrets {
    font-size: 11px;
  }
}
