:root {
  --agent-gold: #b58a3a;
  --agent-gold-soft: rgba(181, 138, 58, 0.42);
  --agent-ink: #111111;
  --agent-red: #bd302d;
  --agent-muted: #494949;
}

html body,
html body[data-agent-mikhail-profile] {
  background: #ffffff !important;
  color: var(--agent-ink) !important;
  font-family: Prata, Georgia, "Times New Roman", serif !important;
}

html body [data-agent-page] {
  padding-bottom: max(36px, env(safe-area-inset-bottom, 0px)) !important;
}

html body .agent-back,
html body .agent-brand,
html body[data-agent-mikhail-profile] .agent-back,
html body[data-agent-mikhail-profile] .agent-brand {
  border: 1px solid var(--agent-gold) !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: var(--agent-ink) !important;
  font-family: Prata, Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  backdrop-filter: none !important;
}

html body .agent-hero,
html body[data-agent-mikhail-profile] .agent-hero {
  border: 1px solid var(--agent-gold) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body .agent-avatar,
html body[data-agent-mikhail-profile] .agent-avatar {
  border: 1px solid var(--agent-gold) !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: var(--agent-ink) !important;
}

html body .agent-kicker,
html body .agent-count,
html body[data-agent-mikhail-profile] .agent-kicker,
html body[data-agent-mikhail-profile] .agent-count {
  color: var(--agent-muted) !important;
  font-family: Prata, Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
}

html body .agent-name,
html body .agent-section-title,
html body .agent-card-title,
html body[data-agent-mikhail-profile] .agent-name,
html body[data-agent-mikhail-profile] .agent-section-title,
html body[data-agent-mikhail-profile] .agent-card-title {
  color: var(--agent-ink) !important;
  font-family: Prata, Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
}

html body .agent-copy,
html body .agent-card-meta,
html body .agent-card-top,
html body .agent-status,
html body[data-agent-mikhail-profile] .agent-copy,
html body[data-agent-mikhail-profile] .agent-card-meta,
html body[data-agent-mikhail-profile] .agent-card-top,
html body[data-agent-mikhail-profile] .agent-status {
  color: var(--agent-muted) !important;
  font-family: Prata, Georgia, "Times New Roman", serif !important;
}

html body .agent-phone,
html body[data-agent-mikhail-profile] .agent-phone {
  border: 1px solid var(--agent-red) !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: var(--agent-ink) !important;
  font-family: Prata, Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  text-shadow: none !important;
  text-transform: none !important;
}

html body .agent-social,
html body[data-agent-mikhail-profile] .agent-social {
  border: 1px solid var(--agent-gold) !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: var(--agent-ink) !important;
  font-family: Prata, Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

html body .agent-type-chip,
html body .agent-type-chip.is-active,
html body[data-agent-mikhail-profile] .agent-type-chip,
html body[data-agent-mikhail-profile] .agent-type-chip.is-active {
  border: 1px solid var(--agent-gold) !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: var(--agent-ink) !important;
  font-family: Prata, Georgia, "Times New Roman", serif !important;
  transform: none !important;
}

html body .agent-type-chip span {
  font-family: inherit !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

html body .agent-type-chip em,
html body .agent-type-chip.is-active em,
html body[data-agent-mikhail-profile] .agent-type-chip em,
html body[data-agent-mikhail-profile] .agent-type-chip.is-active em {
  background: #ffffff !important;
  color: var(--agent-ink) !important;
  border: 1px solid var(--agent-gold-soft);
}

html body .agent-type-chip.is-active,
html body[data-agent-mikhail-profile] .agent-type-chip.is-active {
  border-width: 2px !important;
}

html body .agent-card,
html body[data-agent-mikhail-profile] .agent-card {
  border: 1px solid var(--agent-gold-soft) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body .agent-card-image,
html body[data-agent-mikhail-profile] .agent-card-image {
  background: #ffffff !important;
}

html body .agent-card-price,
html body[data-agent-mikhail-profile] .agent-card-price {
  color: var(--agent-red) !important;
  font-family: Prata, Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
}

html body .agent-card-action,
html body[data-agent-mikhail-profile] .agent-card-action {
  border: 1px solid var(--agent-gold) !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: var(--agent-ink) !important;
  font-family: Prata, Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  text-shadow: none !important;
  text-transform: none !important;
}

html body .agent-status,
html body[data-agent-mikhail-profile] .agent-status {
  border: 1px solid var(--agent-gold-soft) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

@media (max-width: 900px) {
  html body .agent-grid,
  html body[data-agent-mikhail-profile] .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .agent-type-chip,
  html body .agent-card-action,
  html body .agent-phone {
    transition: none !important;
  }
}
