.wxma-box {
  max-width: 720px;
  margin: 24px auto;
  padding: 28px;
  border: 1px solid #d0d5dd;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.wxma-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.wxma-login-guide {
  padding: 14px 16px;
  border-radius: 14px;
  background: #eff8ff;
  border: 1px solid #b2ddff;
}

.wxma-login-highlight {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fdba74;
  color: #9a3412;
}

.wxma-login-highlight__label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 700;
}

.wxma-login-highlight__name {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.3;
}

.wxma-login-highlight__text {
  margin: 10px 0 0;
  color: #7c2d12;
}

.wxma-login-guide p,
.wxma-login-guide ol {
  margin: 0;
}

.wxma-login-guide ol {
  margin-top: 10px;
  padding-left: 22px;
}

.wxma-login-guide li + li {
  margin-top: 8px;
}

.wxma-help,
.wxma-status,
.wxma-note,
.wxma-instruction {
  color: #475467;
}

.wxma-code {
  margin: 20px 0 12px;
  padding: 16px;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-align: center;
  font-weight: 700;
}

.wxma-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.wxma-button:hover {
  background: #1d4ed8;
  color: #fff;
}

.wxma-button-secondary {
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.wxma-button-secondary:hover {
  background: #f8fafc;
  color: #0f172a;
}

.wxma-action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.wxma-action-row-between {
  justify-content: space-between;
  align-items: flex-start;
}

.wxma-field {
  display: block;
  margin-bottom: 18px;
}

.wxma-field-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #0f172a;
}

.wxma-field-label em {
  color: #b42318;
  font-style: normal;
}

.wxma-input,
.wxma-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

.wxma-textarea {
  min-height: 180px;
  resize: vertical;
}

.wxma-upload-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px dashed #98a2b3;
  border-radius: 14px;
  background: #f8fafc;
  color: #344054;
  cursor: pointer;
}

.wxma-upload-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.wxma-exposure-form input[type="file"] {
  position: absolute;
  left: -9999px;
}

.wxma-status-success {
  color: #05603a;
}

.wxma-status-error {
  color: #b42318;
}

.wxma-file-summary {
  margin-top: 8px;
  color: #475467;
  font-size: 14px;
  word-break: break-word;
}

.wxma-empty-state {
  padding: 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #475467;
}

.wxma-exposure-records-list {
  display: grid;
  gap: 16px;
}

.wxma-record-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #d0d5dd;
  background: #fff;
}

.wxma-record-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.wxma-record-header h4 {
  margin: 0;
}

.wxma-record-meta {
  margin-top: 8px;
  color: #475467;
  font-size: 14px;
}

.wxma-record-content {
  margin-top: 12px;
  color: #101828;
}

.wxma-record-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eff8ff;
  color: #175cd3;
}

.wxma-impersonation-banner {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #111827;
  color: #fff;
  padding: 10px 16px;
}

.wxma-impersonation-banner__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wxma-impersonation-banner .wxma-button-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.wxma-member-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.wxma-avatar-wrap {
  flex: 0 0 auto;
}

.wxma-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 28px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .wxma-box {
    padding: 22px;
  }

  .wxma-code {
    font-size: 30px;
  }

  .wxma-member-row {
    flex-direction: column;
  }
}
