.glstroy-af-form {
  --glstroy-af-button-font-family: var(--nectar-button-font-family, var(--nectar-body-font-family, Roboto, Arial, sans-serif));
  --glstroy-af-button-font-size: var(--nectar-button-font-size, 20px);
  width: 100%;
  max-width: 460px;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid rgba(20, 24, 30, 0.08);
  border-radius: 16px;
  background: #fff;
  color: #182026;
  font-family: inherit;
}

.glstroy-af-form *,
.glstroy-af-form *::before,
.glstroy-af-form *::after {
  box-sizing: border-box;
}

.glstroy-af-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.glstroy-af-field {
  display: block;
  margin: 0 0 14px;
}

.glstroy-af-field span,
.glstroy-af-question {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.glstroy-af-field input {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid #dde1e5;
  border-radius: 10px;
  background: #fff;
  color: #182026;
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.glstroy-af-field input:focus {
  border-color: #1f7a6d;
  outline: 2px solid rgba(31, 122, 109, 0.18);
}

.glstroy-af-button,
.glstroy-af-submit,
.glstroy-af-secondary {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--glstroy-af-button-font-family, var(--nectar-button-font-family, var(--nectar-body-font-family, Roboto, Arial, sans-serif))) !important;
  font-size: var(--glstroy-af-button-font-size, 20px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.glstroy-af-button,
.glstroy-af-submit {
  background: linear-gradient(135deg, #ff3048 0%, #ff1714 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 23, 20, 0.24);
}

.glstroy-af-button::before,
.glstroy-af-submit::before,
.glstroy-af-secondary::before {
  position: absolute;
  top: -35%;
  left: -65%;
  width: 46%;
  height: 170%;
  content: "";
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0));
  transform: skewX(-22deg);
  animation: glstroy-af-shine 3.1s ease-in-out infinite;
  pointer-events: none;
}

.glstroy-af-secondary {
  border: 1px solid #e3e6e9;
  background: #fff;
  color: #182026;
}

.glstroy-af-button:hover,
.glstroy-af-submit:hover,
.glstroy-af-secondary:hover {
  transform: translateY(-1px);
}

.glstroy-af-submit {
  width: 100%;
}

.glstroy-af-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.glstroy-af-status {
  min-height: 20px;
  margin-top: 12px;
  font-size: 14px;
  color: #1f7a6d;
}

.glstroy-af-status.is-error {
  color: #b3261e;
}

.glstroy-af-inline-form {
  display: grid !important;
  width: 100%;
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-items: start;
  gap: 8px 16px;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) minmax(220px, 250px);
  grid-template-areas:
    "name phone submit"
    "consent consent consent"
    "status status status";
}

.glstroy-af-inline-form[data-glstroy-form="phone"] {
  max-width: 620px;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 250px);
  grid-template-areas:
    "phone submit"
    "consent consent"
    "status status";
}

.glstroy-af-inline-form .glstroy-af-title,
.glstroy-af-inline-form .glstroy-af-field span {
  display: none;
}

.glstroy-af-inline-form .glstroy-af-hp {
  display: none;
}

.glstroy-af-inline-form .glstroy-af-field {
  margin: 0;
}

.glstroy-af-inline-form .glstroy-af-field:nth-of-type(1) {
  grid-area: name;
}

.glstroy-af-inline-form .glstroy-af-field:nth-of-type(2),
.glstroy-af-inline-form[data-glstroy-form="phone"] .glstroy-af-field:nth-of-type(1) {
  grid-area: phone;
}

.glstroy-af-inline-form .glstroy-af-field input {
  min-height: 60px;
  border: 1px solid #ff3048;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  color: #222;
  font-size: 20px;
}

.glstroy-af-inline-form .glstroy-af-submit {
  grid-area: submit;
  width: 100%;
  min-height: 60px;
  border-radius: 10px;
  font-size: var(--glstroy-af-button-font-size, 20px) !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.glstroy-af-form button,
.glstroy-af-button,
.glstroy-af-submit,
.glstroy-af-secondary,
button.glstroy-af-button,
button.glstroy-af-submit,
button.glstroy-af-secondary {
  font-family: var(--glstroy-af-button-font-family, var(--nectar-button-font-family, var(--nectar-body-font-family, Roboto, Arial, sans-serif))) !important;
  font-size: var(--glstroy-af-button-font-size, 20px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.glstroy-af-inline-form .glstroy-af-status {
  grid-area: status;
  min-height: 18px;
  margin: 0;
  color: #222;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  grid-column: 1 / -1;
}

.glstroy-af-inline-form .glstroy-af-status:empty::before {
  content: "";
}

.glstroy-af-consent {
  display: grid;
  margin: 4px 0 10px;
  color: #222;
  font-size: 12px;
  line-height: 1.35;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
}

.glstroy-af-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #ff3048;
}

.glstroy-af-consent a {
  color: #ff3048;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.glstroy-af-consent-missing {
  color: inherit;
}

.glstroy-af-floating-right {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 2147483000 !important;
  display: grid !important;
  gap: 10px;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.glstroy-af-float-square {
  position: relative;
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff3048 0%, #ff1714 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(255, 23, 20, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.glstroy-af-float-square::before,
.glstroy-af-floating-quiz::before {
  position: absolute;
  top: -35%;
  left: -70%;
  width: 46%;
  height: 170%;
  content: "";
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0));
  transform: skewX(-22deg);
  animation: glstroy-af-shine 3.1s ease-in-out infinite;
  pointer-events: none;
}

.glstroy-af-float-square:hover,
.glstroy-af-floating-quiz:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(255, 23, 20, 0.3);
}

.glstroy-af-float-square svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.glstroy-af-floating-quiz {
  position: fixed !important;
  left: 22px !important;
  bottom: 22px !important;
  z-index: 2147483000 !important;
  display: inline-flex !important;
  width: auto;
  max-width: min(320px, calc(100vw - 118px));
  min-height: 54px;
  padding: 12px 20px;
  border-radius: 8px;
  text-transform: none !important;
  white-space: normal;
  text-align: left;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.glstroy-af-inline-form .glstroy-af-consent {
  margin: 0;
  text-align: center;
  grid-area: consent;
  justify-self: center;
}

.glstroy-af-quiz .glstroy-af-consent {
  margin-top: 14px;
}

.glstroy-af-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.glstroy-af-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  margin: 0;
  transform: none;
}

.glstroy-af-modal[aria-hidden="false"] {
  display: flex;
  animation: glstroy-af-fade 0.18s ease both;
}

.glstroy-af-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 18, 0.62);
}

.glstroy-af-dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  animation: glstroy-af-pop 0.22s cubic-bezier(0.2, 0.9, 0.25, 1) both;
}

.glstroy-af-dialog .glstroy-af-form {
  max-width: none;
  box-shadow: 0 24px 80px rgba(10, 14, 18, 0.28);
}

.glstroy-af-auto-intro {
  margin: 0 0 18px;
  padding-right: 34px;
}

.glstroy-af-auto-eyebrow {
  color: #9e1f24;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.glstroy-af-auto-heading {
  margin-top: 7px;
  color: #241817;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.05;
}

.glstroy-af-auto-intro p {
  margin: 12px 0 0;
  color: #594b49;
  font-size: 17px;
  line-height: 1.5;
}

#glstroy-auto-help-modal .glstroy-af-title:empty {
  display: none;
}

.glstroy-af-dialog:has(.glstroy-af-quiz),
.glstroy-af-quiz-dialog {
  width: min(100%, 384px);
}

.glstroy-af-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #101010;
  cursor: pointer;
  font-size: 34px;
  font-weight: 200;
  line-height: 1;
  opacity: 0.82;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.glstroy-af-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.glstroy-af-lock {
  overflow: hidden;
}

.glstroy-af-step {
  display: none;
}

.glstroy-af-step.is-active {
  display: block;
}

.glstroy-af-options {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.glstroy-af-options label {
  display: block;
  cursor: pointer;
}

.glstroy-af-options input {
  position: absolute;
  opacity: 0;
}

.glstroy-af-options span {
  position: relative;
  display: block;
  min-height: 44px;
  box-sizing: border-box;
  padding: 11px 12px 11px 46px;
  border: 1px solid #dde1e5;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.glstroy-af-options span::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  content: "";
  border: 1px solid transparent;
  border-radius: 50%;
  background: #e4e5e6;
  transform: translateY(-50%);
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.glstroy-af-options label:hover span {
  border-color: rgba(255, 48, 72, 0.48);
  box-shadow: 0 10px 24px rgba(20, 24, 30, 0.07);
  transform: translateY(-1px);
}

.glstroy-af-options input:checked + span {
  border-color: rgba(255, 48, 72, 0.7);
  background: #fff7f8;
  box-shadow: 0 10px 26px rgba(255, 48, 72, 0.12);
}

.glstroy-af-options input:checked + span::before {
  border-color: #ff3048;
  background: #ff3048;
  box-shadow: inset 0 0 0 5px #fff;
}

.glstroy-af-quiz-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.glstroy-af-quiz-actions .glstroy-af-submit {
  grid-column: 2;
}

.glstroy-af-trigger {
  display: inline-block;
  cursor: pointer;
}

.glstroy-af-bound-trigger {
  position: relative;
  overflow: hidden;
}

.glstroy-af-manager {
  display: flex;
  align-items: center;
  min-height: 58px;
  margin: 0 44px 30px 0;
  gap: 12px;
}

.glstroy-af-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #eaf1fb 0%, #f5f8ff 100%);
  box-shadow: 0 8px 18px rgba(40, 119, 236, 0.14);
}

.glstroy-af-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glstroy-af-avatar span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #2877ec;
  font-size: 22px;
  font-weight: 700;
}

.glstroy-af-manager-name {
  color: #111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

.glstroy-af-manager-role {
  color: #222;
  font-size: 17px;
  line-height: 1.15;
}

.glstroy-af-quiz-title {
  margin: 0 44px 24px 0;
  color: #111;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.14;
}

.glstroy-af-quiz {
  display: flex;
  min-height: 0;
  max-width: none;
  padding: 24px 24px 0;
  border: 0;
  border-radius: 18px;
  flex-direction: column;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  box-shadow: none;
}

.glstroy-af-quiz .glstroy-af-question {
  margin: 0 0 20px;
  color: #111;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.glstroy-af-quiz .glstroy-af-options span {
  min-height: 43px;
  border-color: #dde1e5;
  background: #fff;
  color: #5b5b5b;
  font-size: 17px;
  line-height: 1.2;
}

.glstroy-af-quiz .glstroy-af-field input {
  min-height: 46px;
  border-color: #dde1e5;
  color: #111;
  font-size: 17px;
}

.glstroy-af-quiz .glstroy-af-step {
  flex: 0 0 auto;
  min-height: 162px;
}

.glstroy-af-quiz .glstroy-af-quiz-actions {
  width: calc(100% + 48px);
  min-height: 70px;
  margin: 26px -24px 0;
  padding: 16px 24px;
  justify-content: end;
  align-items: center;
  border-top: 1px solid rgba(20, 24, 30, 0.08);
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #f2f3f4 0%, #e6e7e8 100%);
  grid-template-columns: 38px minmax(38px, 1fr);
}

.glstroy-af-quiz .glstroy-af-status {
  width: calc(100% + 48px);
  min-height: 0;
  margin: 0 -24px;
  padding: 0 24px 18px;
  border-radius: 0 0 18px 18px;
  background: #e6e7e8;
  color: #1f7a6d;
}

.glstroy-af-quiz .glstroy-af-status:empty {
  display: none;
}

.glstroy-af-quiz.is-sent {
  min-height: 260px;
  padding-bottom: 24px;
}

.glstroy-af-thanks {
  display: grid;
  min-height: 210px;
  align-content: center;
  gap: 22px;
}

.glstroy-af-thanks-title {
  color: #111;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.18;
}

.glstroy-af-thanks .glstroy-af-submit {
  width: auto;
  min-width: 130px;
  justify-self: start;
}

.glstroy-af-quiz .glstroy-af-arrow {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 10px;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.glstroy-af-quiz [data-quiz-prev] {
  border: 0;
  background: #fff;
  color: #9b9b9b;
  box-shadow: 0 8px 18px rgba(20, 24, 30, 0.1);
}

.glstroy-af-quiz [data-quiz-next],
.glstroy-af-quiz [data-quiz-submit] {
  background: #ff120f;
  color: #fff;
}

.glstroy-af-quiz [data-quiz-submit] {
  width: auto;
  min-width: 220px;
  max-width: 100%;
  padding: 0 14px;
  font-size: var(--glstroy-af-button-font-size, 20px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
  justify-self: end;
}

.glstroy-af-quiz .glstroy-af-quiz-actions button[data-quiz-submit].glstroy-af-submit {
  font-size: var(--glstroy-af-button-font-size, 20px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

@keyframes glstroy-af-shine {
  0% {
    left: -75%;
  }
  42%,
  100% {
    left: 135%;
  }
}

@keyframes glstroy-af-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes glstroy-af-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 782px) {
  .glstroy-af-modal {
    align-items: flex-start;
    padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  }

  .glstroy-af-dialog {
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    margin: auto;
  }

  .glstroy-af-dialog .glstroy-af-form {
    min-height: 0;
  }

  .glstroy-af-close {
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 480px) {
  .glstroy-af-form {
    padding: 20px 16px;
  }

  .glstroy-af-inline-form,
  .glstroy-af-inline-form[data-glstroy-form="phone"] {
    max-width: 100%;
    padding: 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "phone"
      "submit"
      "consent"
      "status";
  }

  .glstroy-af-inline-form[data-glstroy-form="phone"] {
    grid-template-areas:
      "phone"
      "submit"
      "consent"
      "status";
  }

  .glstroy-af-inline-form .glstroy-af-consent {
    text-align: left;
    justify-self: stretch;
  }

  .glstroy-af-inline-form .glstroy-af-field input,
  .glstroy-af-inline-form .glstroy-af-submit {
    min-height: 54px;
  }

  .glstroy-af-form button,
  .glstroy-af-button,
  .glstroy-af-submit,
  .glstroy-af-secondary,
  button.glstroy-af-button,
  button.glstroy-af-submit,
  button.glstroy-af-secondary {
    font-size: var(--glstroy-af-button-font-size, 20px) !important;
  }

  .glstroy-af-modal {
    padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }

  .glstroy-af-title {
    max-width: calc(100% - 42px);
    font-size: 20px;
  }

  .glstroy-af-quiz-title {
    margin-right: 34px;
    font-size: 22px;
  }

  .glstroy-af-field input,
  .glstroy-af-button,
  .glstroy-af-submit,
  .glstroy-af-secondary {
    min-height: 48px;
  }

  .glstroy-af-options span {
    min-height: 46px;
    padding: 12px;
  }

  .glstroy-af-quiz {
    min-height: 0;
    padding: 20px 18px 0;
  }

  .glstroy-af-quiz .glstroy-af-options span {
    padding: 12px 12px 12px 46px;
  }

  .glstroy-af-quiz .glstroy-af-quiz-actions {
    width: calc(100% + 36px);
    margin-right: -18px;
    margin-left: -18px;
    grid-template-columns: 38px minmax(38px, 1fr);
  }

  .glstroy-af-quiz .glstroy-af-status {
    width: calc(100% + 36px);
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .glstroy-af-quiz-actions {
    grid-template-columns: 1fr;
  }

  .glstroy-af-quiz-actions .glstroy-af-submit {
    grid-column: auto;
  }

  .glstroy-af-quiz .glstroy-af-quiz-actions [data-quiz-next],
  .glstroy-af-quiz .glstroy-af-quiz-actions [data-quiz-submit] {
    grid-column: 2;
    justify-self: end;
  }

  .glstroy-af-quiz.glstroy-af-form .glstroy-af-quiz-actions {
    grid-template-columns: 38px minmax(38px, 1fr);
  }

  .glstroy-af-quiz [data-quiz-submit] {
    min-width: min(224px, calc(100vw - 112px));
    font-size: var(--glstroy-af-button-font-size, 20px) !important;
  }

  .glstroy-af-floating-right {
    right: max(12px, env(safe-area-inset-right)) !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    gap: 8px;
  }

  .glstroy-af-float-square {
    width: 48px;
    height: 48px;
  }

  .glstroy-af-float-square svg {
    width: 22px;
    height: 22px;
  }

  .glstroy-af-floating-quiz {
    left: max(12px, env(safe-area-inset-left)) !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    max-width: calc(100vw - 84px);
    min-height: 48px;
    padding: 10px 14px;
  }
}
