.af-form {
  display: grid;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--ch-line);
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: 0 12px 32px rgba(18, 37, 89, 0.08);
  margin: 0 0 1.5rem;
}
.af-form label { font-weight: 800; color: var(--ch-navy); display: block; margin-bottom: 0.3rem; }
.af-form input, .af-form textarea, .af-form select {
  width: 100%;
  font: inherit;
  color: var(--ch-ink);
  border: 1px solid var(--ch-line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: #fff;
}
.af-form textarea { min-height: 120px; resize: vertical; }
.af-row { display: grid; gap: 0.85rem; }
@media (min-width: 760px) {
  .af-row.two { grid-template-columns: 1fr 1fr; }
  .af-row.three { grid-template-columns: 1.4fr 0.6fr 0.7fr; }
}
.af-checks { display: grid; gap: 0.35rem; }
.af-checks label { font-weight: 650; display: flex; gap: 0.45rem; align-items: flex-start; }
.af-checks input { width: auto; margin-top: 0.25rem; }
.af-coins {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.af-form button.af-coin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  max-width: 100%;
  border-radius: 999px !important;
  border: 2px solid var(--ch-gold, #edae26) !important;
  background: #fff !important;
  color: var(--ch-navy, #122559) !important;
  padding: 0.55rem 1.05rem 0.55rem 0.55rem !important;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
}
.af-form button.af-coin[aria-expanded="true"] {
  background: #fff !important;
  color: var(--ch-navy, #122559) !important;
}
.af-bubble {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid var(--ch-gold, #edae26);
  background: #fff;
  box-sizing: border-box;
}
.af-form button.af-coin[aria-expanded="true"] .af-bubble {
  background: var(--ch-gold, #edae26);
}
.af-doc {
  border: 1px solid var(--ch-line);
  border-radius: 14px;
  background: var(--ch-paper);
  padding: 0.8rem 0.9rem;
}
.af-doc h3 { margin: 0 0 0.4rem; color: var(--ch-navy); font-size: 1.05rem; }
.af-doc .af-scroll {
  max-height: 220px;
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem;
  white-space: pre-wrap;
  color: var(--ch-ink);
  font-size: 0.95rem;
  line-height: 1.45;
}
.af-form label.af-agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0.35rem 0 0;
  border-radius: 999px;
  border: 2px solid var(--ch-gold, #edae26);
  background: #fff;
  color: var(--ch-navy, #122559);
  padding: 0.75rem 1.15rem;
  cursor: pointer;
  text-align: center;
  font-weight: 800;
  line-height: 1.3;
}
.af-form label.af-agree:has(input:checked),
.af-form label.af-agree.is-agreed {
  background: #fff;
  color: var(--ch-navy, #122559);
}
.af-form label.af-agree input {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto;
  border: 2px solid var(--ch-gold, #edae26) !important;
  border-radius: 50% !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  line-height: 16px !important;
}
.af-form label.af-agree input:checked {
  background: var(--ch-gold, #edae26) !important;
  background-image: none !important;
}
.af-form label.af-agree input::before,
.af-form label.af-agree input:checked::before,
.af-form label.af-agree input::after,
.af-form label.af-agree input:checked::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.af-note { color: var(--ch-muted); margin: 0; }
.af-error { color: #9b2226; font-weight: 750; }
.af-ok {
  background: #fff;
  border-radius: 20px;
  padding: 2.2rem 1.4rem;
  border: 1px solid var(--ch-line);
  text-align: center;
  margin: 1.5rem 0 2.5rem;
  box-shadow: 0 12px 32px rgba(18, 37, 89, 0.08);
}
.af-ok h2 {
  margin: 0.15rem 0 0.7rem;
  color: var(--ch-navy);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}
.af-ok p:last-child { margin-bottom: 0; }
.ch-hero[hidden],
.cp-hero[hidden],
.af-form[hidden],
#afDone[hidden] {
  display: none !important;
}
.af-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
body.ch-active .af-form button.ch-btn-gold {
  background: var(--ch-gold) !important;
  color: var(--ch-navy) !important;
  border: 0 !important;
}
.af-form fieldset { border: 1px solid var(--ch-line); border-radius: 14px; padding: 0.8rem; }
.af-form legend { font-weight: 800; color: var(--ch-navy); padding: 0 0.3rem; }
.af-doc > p a { font-weight: 800; }
.af-agreement { margin: 0 0 2rem; font-size: 1.05rem; line-height: 1.55; }
.af-agreement h2 { margin: 1.1rem 0 0.4rem; color: var(--ch-navy); font-size: 1.2rem; }
.af-agreement ul { margin: 0.2rem 0 0.6rem; padding-left: 1.25rem; }
.af-agreement li { margin: 0.35rem 0; }
.af-agreement .ch-btn { margin-top: 0.8rem; }
