* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  overflow-x: clip;
}

html:not(.aga-login-html) {
  background:
    radial-gradient(circle at 14% 18%, rgba(146, 208, 80, 0.12) 0%, transparent 46%),
    radial-gradient(circle at 86% 14%, rgba(103, 63, 180, 0.12) 0%, transparent 48%),
    var(--color-bg);
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  background: transparent;
}

body:not(.aga-login-body)::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  background-size: 340px 340px, 560px 560px;
  background-position: 0 0, 120px 60px;
  transform: rotate(-8deg);
}

h1,
h2,
h3,
h4 {
  color: var(--color-text);
  font-family: var(--font-heading);
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100%;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row-between {
  justify-content: space-between;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mb-md {
  margin-bottom: 14px;
}

.mt-xs {
  margin-top: 6px;
}

.mt-md {
  margin-top: 16px;
}

.vspace-sm {
  height: 12px;
}

.hint,
.help {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}
