[data-reel] .fs-reel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

[data-reel] .fs-reel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

[data-bao-target] {
  width: clamp(80px, 10vw, 120px);
  filter: drop-shadow(0 8px 16px rgba(20, 83, 45, 0.3));
}

[data-bao-target] img {
  width: 100%;
  height: auto;
}

.ff-form {
  display: grid;
  gap: 0.9rem;
}

.contact-sheet-body {
  display: grid;
  gap: 0.95rem;
  padding: 1.2rem 1.35rem 1.35rem;
}

@media (min-width: 640px) {
  .contact-sheet-body {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .contact-sheet-body {
    padding-bottom: 1.6rem;
  }
}

.ff-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ff-label {
  display: grid;
  gap: 0.35rem;
  color: #14532d;
  font-size: 0.8rem;
  font-weight: 600;
}

.ff-optional {
  margin-left: 0.35rem;
  font-weight: 500;
  color: rgb(20 83 45 / 0.45);
}

.ff-form textarea.input-field,
textarea.input-field {
  min-height: 8.5rem;
  resize: vertical;
}

.county-field {
  position: relative;
}

.county-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  max-height: 16rem;
  margin: 0;
  padding: 0.35rem;
  overflow: auto;
  list-style: none;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 10px 28px rgb(20 83 45 / 0.1);
}

.county-menu[hidden] {
  display: none;
}

.county-group {
  padding: 0.5rem 0.7rem 0.15rem;
  color: rgb(20 83 45 / 0.45);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.county-option {
  padding: 0.48rem 0.7rem;
  border-radius: 0.55rem;
  color: #14532d;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.county-option.is-active,
.county-option:hover {
  background: rgb(55 159 60 / 0.12);
}

.county-option mark {
  background: transparent;
  color: #379f3c;
  font-weight: 700;
}

.ff-note {
  margin: 0;
  border-radius: 0.9rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.ff-note-ok {
  background: rgb(55 159 60 / 0.1);
  color: #14532d;
}

.ff-success h2 {
  margin: 0;
  color: #14532d;
  font-size: clamp(1.85rem, 7vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

@media (max-width: 1099px) {
  .ff-success {
    display: block;
    min-height: 0;
    margin-top: 0.75rem;
    padding: 1.35rem 1.2rem 1.4rem;
    border-radius: 1.25rem;
    background: rgb(55 159 60 / 0.1);
  }
}

.ff-success p {
  margin: 0.85rem 0 0;
  max-width: 26rem;
  color: rgb(20 83 45 / 0.72);
  font-size: 1.05rem;
  line-height: 1.55;
}

.ff-note-err {
  background: #fef2f2;
  color: #991b1b;
}

.ff-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.ff-actions p {
  margin: 0;
  max-width: 28rem;
  color: rgb(20 83 45 / 0.55);
  font-size: 0.8rem;
  line-height: 1.45;
}

.onboard {
  display: grid;
  gap: 1.35rem;
}

.onboard-head h2 {
  margin: 0;
  color: #14532d;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.onboard-kicker {
  margin: 0;
  color: #379f3c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.onboard-section {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.onboard-legend {
  padding: 0;
  color: rgb(20 83 45 / 0.5);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.onboard-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .onboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .onboard-span {
    grid-column: 1 / -1;
  }
}

.onboard-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.onboard-types label {
  position: relative;
}

.onboard-types input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.onboard-types span {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 0.35rem 0.85rem;
  color: #14532d;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.onboard-types input:checked + span {
  border-color: #14532d;
  background: #14532d;
  color: #fff;
}

.onboard-types input:focus-visible + span {
  outline: 2px solid #379f3c;
  outline-offset: 2px;
}

.onboard-done {
  padding: 0.5rem 0 0.25rem;
}

.onboard-done h2 {
  margin: 0;
  color: #14532d;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.onboard-done p {
  margin: 0.75rem 0 0;
  max-width: 34rem;
  color: rgb(20 83 45 / 0.7);
  font-size: 1rem;
  line-height: 1.55;
}
