:root {
  --wf-paper: #fafbfc;
  --wf-mist: #e8ecf1;
  --wf-slate: #94a3b8;
  --wf-blue: #3b82f6;
  --wf-ink: #142033;
  --wf-red: #d94e1c;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--wf-paper);
}

button,
input,
select,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.brand-logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: 220px;
  object-fit: contain;
}

.brand-logo-rsc,
.brand-logo-jingtour {
  height: 66px;
}

.nav-link-active {
  color: var(--wf-blue);
}

.webforms-mobile-nav {
  display: flex;
}

.menu-icon {
  font-size: 24px;
  line-height: 1;
}

.reward-carousel-copy [data-draft-key],
.hero-content [data-draft-key],
.intro-section [data-draft-key],
.page-hero [data-draft-key],
.rule-lead[data-draft-key],
.section-heading [data-draft-key],
.session-selector-intro[data-draft-key],
.register-info [data-draft-key],
.panel-intro[data-draft-key] {
  white-space: pre-line;
}

.webforms-icon {
  align-items: center;
  display: inline-flex;
  font-size: 1.1em;
  justify-content: center;
  min-width: 1.25em;
}

.schedule-link {
  text-decoration: none;
}

.session-option {
  width: 100%;
}

.session-option-contact .contact-line {
  align-items: flex-start;
  display: flex;
  gap: 0.4rem;
}

.session-option-contact .contact-icon {
  flex: 0 0 auto;
  width: 1rem;
}

.aspnet-form .input-shell {
  position: relative;
}

.aspnet-form .input-shell .field-icon {
  color: #60708a;
  left: 1rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.aspnet-form .input-shell input {
  padding-left: 2.8rem;
}

.aspnet-form select,
.aspnet-form input[type="text"],
.aspnet-form input[type="tel"] {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.6rem;
  box-sizing: border-box;
  min-height: 48px;
  width: 100%;
}

.aspnet-form select {
  padding: 0.7rem 2.5rem 0.7rem 0.9rem;
}

.aspnet-form input[type="text"],
.aspnet-form input[type="tel"] {
  padding-bottom: 0.65rem;
  padding-top: 0.65rem;
}

.aspnet-form select:focus,
.aspnet-form input:focus,
.draft-field input:focus,
.draft-field textarea:focus {
  border-color: var(--wf-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
  outline: none;
}

.aspnet-check {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.aspnet-check input {
  height: 18px;
  margin-top: 0.15rem;
  width: 18px;
}

.field-error {
  color: #b42318;
  display: block;
  font-size: 0.88rem;
  margin-top: 0.45rem;
}

.validation-summary {
  background: #fff1f0;
  border: 1px solid #ffccc7;
  border-radius: 0.7rem;
  color: #a8071a;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
}

.success-panel .button {
  margin-top: 1rem;
}

.selected-summary-detail p,
.selected-summary-detail span {
  display: block;
}

.venue-note a {
  color: inherit;
}

.receipt {
  display: grid;
  grid-template-columns: auto 1fr;
}

.server-message {
  margin: 0.75rem 0;
}

.draft-toolbar button,
.draft-preview-link {
  text-decoration: none;
}

.draft-field input,
.draft-field textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  box-sizing: border-box;
  padding: 0.8rem 0.9rem;
  width: 100%;
}

.draft-field textarea {
  min-height: 110px;
  resize: vertical;
}

.draft-section-heading .edit-icon {
  align-items: center;
  background: var(--wf-blue);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 1.2rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.ticket-image {
  background: #fff;
}

@media (max-width: 900px) {
  .brand-logo-rsc,
  .brand-logo-jingtour {
    height: 48px;
    max-width: 155px;
  }

  .webforms-mobile-nav[hidden] {
    display: none !important;
  }

  .webforms-mobile-nav:not([hidden]) {
    display: flex;
  }
}

@media (max-width: 560px) {
  .brand-logo-rsc,
  .brand-logo-jingtour {
    height: 37px;
    max-width: 112px;
  }

  .brand-divider {
    height: 28px;
  }

  .co-brand {
    gap: 0.45rem;
  }

  .registration-panel,
  .rule-block {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .receipt {
    grid-template-columns: 1fr;
  }
}
