/* Apply the public site's typeface to page-level overlays and native controls. */
body:has(> #siteWrapper),
#siteWrapper,
#siteWrapper :where(button, input, select, textarea, option, optgroup) {
  font-family: Georgia, 'Times New Roman', serif;
}

#header .ha-ticket-link-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-width: 0;
}

:is(#header, .ha-portal-receipt) .ha-ticket-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid #d7a942;
  border-radius: 50%;
  background: #404145 url('/avatars/question-mark-small.png') center / cover no-repeat;
}

:is(#header, .ha-portal-receipt) .ha-ticket-avatar-noir-man {
  background-image: url('/avatars/noir-pair-small.png');
  background-size: 218.473% auto;
  background-position: 4.574% 49.333%;
}

:is(#header, .ha-portal-receipt) .ha-ticket-avatar-noir-woman { background-image: url('/avatars/noir-woman-small.png'); }
:is(#header, .ha-portal-receipt) .ha-ticket-avatar-flying-saucer { background-image: url('/avatars/flying-saucer-small.png'); }
:is(#header, .ha-portal-receipt) .ha-ticket-avatar-noir-detective {
  background-image: url('/avatars/noir-detective-small.png'); background-size: 114% auto;
}
:is(#header, .ha-portal-receipt) .ha-ticket-avatar-vintage-nurse { background-image: url('/avatars/vintage-nurse-small.png'); }
:is(#header, .ha-portal-receipt) .ha-ticket-avatar-vintage-doctor { background-image: url('/avatars/vintage-doctor-small.png'); }
:is(#header, .ha-portal-receipt) .ha-ticket-avatar-mad-scientist {
  background-image: url('/avatars/mad-scientist-small.png'); background-size: 107% auto;
}
:is(#header, .ha-portal-receipt) .ha-ticket-avatar-mobster {
  background-image: url('/avatars/mobster-small.png'); background-size: 105% auto;
}
:is(#header, .ha-portal-receipt) .ha-ticket-avatar-politician {
  background-image: url('/avatars/politician-small.png'); background-size: 105% auto;
}
:is(#header, .ha-portal-receipt) :is(.ha-ticket-avatar-organization-commercial, .ha-ticket-avatar-organization-government) {
  display: grid; place-items: center; color: #fff9ee; font: bold 1rem Georgia, serif;
}
:is(#header, .ha-portal-receipt) .ha-ticket-avatar-organization-commercial { background: #240909; }
:is(#header, .ha-portal-receipt) .ha-ticket-avatar-organization-commercial::before { content: "B"; }
:is(#header, .ha-portal-receipt) .ha-ticket-avatar-organization-government { background: #050520; }
:is(#header, .ha-portal-receipt) .ha-ticket-avatar-organization-government::before { content: "G"; }
#header .ha-ticket-avatar-team { background: #240909 url('/app-icons/company-crest.svg') center / cover no-repeat; }

#header .ha-ticket-identity-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: min(24ch, 18vw);
  overflow: hidden;
  overflow-wrap: anywhere;
  line-height: 1.2;
  white-space: normal;
}

#header.ha-ticket-account-navigation .user-accounts-link { display: none; }
#header [data-ha-ticket-link-hidden] { display: none !important; }

/* Give the review and Ask Codex opposite corners when there is room for both. */
@media (width > 900px) {
  html .ha-review-popup {
    left: max(20px, env(safe-area-inset-left, 0px)) !important;
    right: auto !important;
  }
}

@media (max-width: 900px) {
  html {
    --ha-floating-edge: 12px;
    --ha-floating-gap: 8px;
    --ha-codex-mobile-rail: 76px;
  }

  html .ha-review-popup {
    box-sizing: border-box;
    max-height: min(50vh, max(11rem, 34vh)) !important;
    max-height: min(50dvh, max(11rem, 34dvh)) !important;
    width: min(23rem, calc(100% - 2 * var(--ha-floating-edge) - var(--ha-floating-gap) - var(--ha-codex-mobile-rail)
      - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))) !important;
    min-width: 0 !important;
    left: calc(var(--ha-floating-edge) + env(safe-area-inset-left, 0px)) !important;
    right: auto !important;
    bottom: calc(var(--ha-floating-edge) + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 1999 !important;
    padding: .6rem .8rem .5rem !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  .ha-review-popup .ha-review-popup-content { display: grid; gap: .32rem; }
  .ha-review-popup :is(.ha-review-popup-kicker, .ha-review-popup-person, .ha-review-popup-stars, .ha-review-popup-body, .ha-review-popup-footer) {
    margin: 0 !important;
  }
  .ha-review-popup .ha-review-popup-kicker { font-size: .75rem !important; line-height: 1.2; }
  .ha-review-popup .ha-review-popup-person { gap: .5rem; }
  .ha-review-popup :is(.ha-review-popup-person, .ha-review-popup-kicker) { padding-right: 2.35rem; }
  .ha-review-popup .ha-review-avatar { width: 32px; height: 32px; flex: 0 0 32px; }
  .ha-review-popup .ha-review-popup-stars { line-height: 1.1; }
  .ha-review-popup .ha-review-popup-body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: .9375rem !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
  }
  .ha-review-popup .ha-review-popup-close { top: 1px; right: 2px; width: 44px; height: 44px; }
  .ha-review-popup .ha-review-popup-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: .35rem;
    row-gap: 0;
  }
  .ha-review-popup .ha-review-popup-link { display: inline-flex; align-items: center; min-height: 44px; white-space: normal; }
  .ha-review-popup .ha-review-popup-nav { flex: none; gap: .25rem; }
  .ha-review-popup .ha-review-popup-nav button { min-width: 44px; min-height: 44px; }
}

@media (max-width: 900px) and (max-height: 640px) {
  .ha-review-popup .ha-review-popup-body { -webkit-line-clamp: 2; }
}

#header .header-display-desktop .ha-ticket-account-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

#header .header-display-desktop .ha-portal-dropdown {
  position: relative;
}

/* The phone banner is a sibling of the header wrapper that contains the menu. */
#header:has(.header-display-desktop .ha-portal-dropdown[open]) > .ha-desktop-call {
  z-index: 1;
}

#header .ha-portal-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}

#header .header-display-desktop .ha-portal-dropdown-trigger {
  padding: 0.3rem 0.65rem;
  border: 1px solid #c49a55;
  border-radius: 0.4rem;
  background: #fff5df;
  color: #240909;
  font: 700 clamp(.85rem, 1.25vw, 1rem)/1.2 Georgia, 'Times New Roman', serif;
  white-space: nowrap;
}

#header .ha-portal-dropdown-trigger::-webkit-details-marker { display: none; }

#header .ha-portal-dropdown-trigger::after {
  content: '';
  flex: 0 0 0.42rem;
  height: 0.42rem;
  margin: -0.2rem 0.15rem 0 0.1rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

#header .ha-portal-dropdown[open] > .ha-portal-dropdown-trigger::after {
  margin-top: 0.2rem;
  transform: rotate(225deg);
}

#header .header-display-desktop .ha-portal-dropdown-items {
  position: absolute;
  z-index: 20;
  inset-block-start: calc(100% + 0.5rem);
  inset-inline-end: 0;
  box-sizing: border-box;
  inline-size: min(17rem, calc(100vw - 2rem));
  max-block-size: min(26rem, 50vh);
  overflow: auto;
  padding: 0.4rem;
  border: 1px solid #c49a55;
  border-block-start: 3px solid #d7a942;
  border-radius: 0.5rem;
  background: #fffdf9;
  box-shadow: 0 8px 26px rgb(36 9 9 / 18%);
  color: #240909;
  font: 1rem/1.35 Georgia, 'Times New Roman', serif;
}

#header .header-display-desktop .ha-portal-dropdown-items a.ha-portal-dropdown-link {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  text-decoration: none;
  min-height: 44px;
  padding: 0.45rem 0.6rem;
  border-radius: 0.3rem;
  color: #240909;
  font: inherit;
}

#header .header-display-desktop .ha-portal-dropdown-items a:hover,
#header .header-display-desktop .ha-portal-dropdown-trigger:hover { background: #f8e4b8; }

#header .header-display-desktop .ha-portal-dropdown-install { border-block-start: 1px solid #e5d8cc; }

#header .ha-portal-menu-items [hidden],
#header .ha-portal-dropdown-trigger [hidden] { display: none; }

#header .ha-ticket-account-actions :is(a, summary, button):focus-visible,
.ha-portal-install-dialog :is(a, button):focus-visible {
  outline: 2px solid #9b6b10;
  outline-offset: 2px;
}

.ha-portal-install-dialog {
  box-sizing: border-box;
  width: min(29rem, calc(100vw - 2rem));
  max-block-size: calc(100vh - 2rem);
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid #d7a942;
  border-block-start: 4px solid #240909;
  border-radius: 0.65rem;
  background: #fffdf9;
  color: #240909;
  font: 1rem/1.5 Georgia, 'Times New Roman', serif;
}

.ha-portal-install-dialog::backdrop { background: rgb(5 5 32 / 60%); }

.ha-portal-install-dialog h2 { margin: 0; color: inherit; font: 700 1.5rem/1.2 Georgia, 'Times New Roman', serif; }
.ha-portal-install-dialog p { margin: 0.7rem 0 1rem; color: inherit; font: inherit; }

.ha-portal-install-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.55rem; }

.ha-portal-install-dialog-actions :is(a, button) {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border: 1px solid #c49a55;
  border-radius: 0.4rem;
  background: #fff5df;
  color: #240909;
  font: 700 0.95rem/1.25 Georgia, 'Times New Roman', serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.ha-portal-install-dialog-actions a.ha-portal-install-next { background: #240909; color: #fff; }
.ha-portal-install-dialog-actions button:hover { background: #f8e4b8; }
.ha-portal-install-dialog-actions a.ha-portal-install-next:hover { background: #050520; }

#header .ha-ticket-account-section {
  grid-column: 1 / -1;
  min-width: 0;
}

#header .ha-ticket-profile-identity {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  margin-inline-start: auto;
  padding-inline: 0.45rem;
}

#header .ha-ticket-profile-identity .ha-ticket-identity-name {
  max-width: 10rem;
  min-width: 0;
  font-size: 0.65em;
}

#header .ha-ticket-profile-identity .ha-ticket-avatar {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}

#header .ha-portal-menu-items .ha-ticket-unread-count {
  margin-inline-start: auto;
  margin-inline-end: 0.45rem;
}

#header .ha-ticket-account-section a.ha-portal-dropdown-link:focus-visible {
  outline-offset: -2px;
}

#header .ha-ticket-unread-count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  min-height: 1.2rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #9b292c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

[data-ha-portal-receipt-field][hidden],
#block-yui_3_17_2_1_1756143055596_5053 #text-97adb81e-4468-4113-810c-32618b7e711b {
  display: none !important;
}

:is(#block-dd422d14f184b16171b2, #block-6ec62a37c942301f57af) .field-list > .form-item[data-ha-job-field] {
  box-sizing: border-box;
  margin: 0;
  padding: 14px clamp(12px, 3vw, 22px);
  border: 1px solid #b59859;
  background: #fffaf0;
}

:is(#block-dd422d14f184b16171b2, #block-6ec62a37c942301f57af) .field-list > .form-item[data-ha-job-field="number"] {
  grid-template:
    "job-label job-optional job-toggle" minmax(44px, auto)
    "job-help job-help job-help" auto
    "job-entry job-entry job-entry" auto
    "job-remove job-remove job-remove" auto / auto minmax(0, 1fr) 44px;
  column-gap: .65rem;
  margin-block-start: 16px;
  border-radius: 9px;
}

:is(#block-dd422d14f184b16171b2, #block-6ec62a37c942301f57af) .field-list > .form-item[data-ha-job-field] > .title {
  grid-area: job-label;
  align-self: center;
  min-inline-size: 0;
  margin: 0;
}

:is(#block-dd422d14f184b16171b2, #block-6ec62a37c942301f57af) .field-list > .form-item[data-ha-job-field="number"] > .ha-job-optional {
  grid-area: job-optional;
  align-self: center;
  color: #61513c;
  font: .9rem/1.3 Georgia, serif;
}

:is(#block-dd422d14f184b16171b2, #block-6ec62a37c942301f57af) .field-list > .form-item[data-ha-job-field] > .ha-job-help-toggle {
  grid-area: job-toggle;
  position: static;
  align-self: start;
  justify-self: end;
}

:is(#block-dd422d14f184b16171b2, #block-6ec62a37c942301f57af) .field-list > .form-item[data-ha-job-field] > [data-ha-service-help-copy] {
  grid-area: job-help;
}

/* Keep the native field effects aligned with the input as the help row expands. */
:is(#block-dd422d14f184b16171b2, #block-6ec62a37c942301f57af) .field-list > .form-item[data-ha-job-field] > :is(input, .form-input-effects) {
  grid-area: job-entry;
}

[data-ha-job-field] > .description:not([data-ha-service-help-copy]),
[data-ha-job-field] > [data-ha-service-help-copy][hidden],
[data-ha-job-field="phone"] > .title:not(.ha-job-phone-title),
[data-ha-job-field] .ha-job-verification-action[hidden],
[data-ha-job-field="phone"][hidden] { display: none !important; }

:is(#block-dd422d14f184b16171b2, #block-6ec62a37c942301f57af) .field-list > .form-item[data-ha-job-field="number"][data-ha-job-phone-visible] {
  margin-block-end: 0 !important;
  border-block-end: 0;
  border-end-start-radius: 0;
  border-end-end-radius: 0;
}

:is(#block-dd422d14f184b16171b2, #block-6ec62a37c942301f57af) .field-list > .form-item[data-ha-job-field="phone"] {
  grid-template:
    "job-label job-toggle" minmax(44px, auto)
    "job-help job-help" auto
    "job-entry job-entry" auto
    "job-feedback job-feedback" auto
    "job-remove job-remove" auto / minmax(0, 1fr) 44px;
  column-gap: .65rem;
  border-block-start: 0;
  border-radius: 0 0 9px 9px;
  padding-block-start: 4px;
}

:is(#block-dd422d14f184b16171b2, #block-6ec62a37c942301f57af) .field-list > .form-item[data-ha-job-field] > .ha-job-verification {
  grid-area: job-feedback;
  min-inline-size: 0;
}

.ha-job-verification[data-state="verified"] { color: #215a37; }
.ha-job-verification[data-state="mismatch"],
.ha-job-verification[data-state="limited"],
.ha-job-verification[data-state="unavailable"] { color: #771f20; }
.ha-job-verification[data-state="checking"],
.ha-job-verification[data-state="retry"] { color: #514126; }

.ha-job-verification__message {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font: .95rem/1.45 Georgia, serif;
}

.ha-job-verification:not([data-state="idle"]) .ha-job-verification__message {
  margin-block-start: .65rem;
  padding: .55rem .7rem;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: #fff;
}

.ha-job-verification__icon { min-inline-size: 1em; text-align: center; font-weight: 700; }
.ha-job-verification[data-state="checking"] .ha-job-verification__icon {
  flex: 0 0 auto;
  box-sizing: border-box;
  block-size: 1em;
  margin-block-start: .2em;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: ha-job-verification-spin .85s linear infinite;
}
@keyframes ha-job-verification-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
  .ha-job-verification[data-state="checking"] .ha-job-verification__icon { animation: none; }
}

:is(#block-dd422d14f184b16171b2, #block-6ec62a37c942301f57af) .field-list > .form-item[data-ha-job-field] .ha-job-verification-action {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-block-size: 44px;
  padding: 0 .2em;
  border: 0;
  background: none;
  color: #4e3d26;
  font: 700 .88rem/1.2 Georgia, serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

:is(#block-dd422d14f184b16171b2, #block-6ec62a37c942301f57af) .field-list > .form-item[data-ha-job-field] > .ha-job-remove-link {
  grid-area: job-remove;
}

.ha-service-ticket .ha-portal-receipt {
  margin: 1rem auto 0;
  max-inline-size: 32ch;
}

:is(.ha-service-ticket, .react-form-post-submit) .ha-portal-receipt a.ha-portal-receipt__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  box-sizing: border-box;
  max-inline-size: 100%;
  min-block-size: 48px;
  padding: .55rem 1rem;
  border: 1px solid #ffe5a7;
  border-radius: .65rem;
  background: linear-gradient(155deg, #fff0bd 0%, #ebc96c 48%, #ca9639 100%);
  box-shadow: 0 3px 0 #825720, 0 6px 15px rgb(0 0 0 / 25%);
  color: #301717;
  font: 700 clamp(1rem, 3.8vw, 1.16rem)/1.25 Georgia, 'Times New Roman', serif;
  text-align: center;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  :is(.ha-service-ticket, .react-form-post-submit) .ha-portal-receipt a.ha-portal-receipt__button:hover {
    transform: translateY(1px);
    box-shadow: 0 2px 0 #825720, 0 4px 9px rgb(0 0 0 / 25%);
    filter: brightness(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.ha-service-ticket, .react-form-post-submit) .ha-portal-receipt a.ha-portal-receipt__button { transition: none; }
}

:is(.ha-service-ticket, .react-form-post-submit) .ha-portal-receipt a.ha-portal-receipt__button:focus-visible {
  outline: 2px solid #fff8ef;
  outline-offset: 4px;
}

:is(.ha-service-ticket, .react-form-post-submit) .ha-portal-receipt a.ha-portal-receipt__button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #825720;
  filter: brightness(.96);
}

.ha-service-ticket .ha-portal-receipt .ha-portal-receipt__note {
  margin-block-start: .8rem;
}

.ha-application-ticket {
  --ticket-outline: polygon(
    20px 0, calc(100% - 20px) 0, calc(100% - 18px) 8px, calc(100% - 12px) 15px, 100% 20px,
    100% calc(50% - 30px), calc(100% - 5px) calc(50% - 27px), calc(100% - 7px) calc(50% - 22px), 100% calc(50% - 16px),
    100% calc(50% - 8px), calc(100% - 5px) calc(50% - 5px), calc(100% - 7px) 50%, 100% calc(50% + 6px),
    100% calc(50% + 14px), calc(100% - 5px) calc(50% + 17px), calc(100% - 7px) calc(50% + 22px), 100% calc(50% + 28px),
    100% calc(100% - 20px), calc(100% - 12px) calc(100% - 15px), calc(100% - 18px) calc(100% - 8px), calc(100% - 20px) 100%,
    20px 100%, 18px calc(100% - 8px), 12px calc(100% - 15px), 0 calc(100% - 20px),
    0 calc(50% + 28px), 7px calc(50% + 22px), 5px calc(50% + 17px), 0 calc(50% + 14px),
    0 calc(50% + 6px), 7px 50%, 5px calc(50% - 5px), 0 calc(50% - 8px),
    0 calc(50% - 16px), 7px calc(50% - 22px), 5px calc(50% - 27px), 0 calc(50% - 30px),
    0 20px, 12px 15px, 18px 8px
  );
  max-inline-size: 42rem;
  margin-inline: auto;
  padding: 3px;
  background: linear-gradient(145deg, #fdfefe, #778895 75%, #f6faff);
  clip-path: var(--ticket-outline);
  color: #18242e;
  text-align: center;
}

.ha-application-ticket__face {
  padding: clamp(1.5rem, 5vw, 3.25rem) clamp(1.25rem, 5vw, 3.25rem);
  background: radial-gradient(ellipse at 36% 0, #fcfdfe, #d9e0e6 65%, #c5cfd7);
  clip-path: var(--ticket-outline);
}

.ha-application-ticket .ha-application-ticket__eyebrow {
  margin: 0;
  color: #3f5265;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ha-application-ticket h2 {
  max-inline-size: 19ch;
  margin: .55rem auto 1.15rem;
  color: #18242e;
  font: 700 clamp(1.65rem, 5.3vw, 3rem)/1.07 Georgia, 'Times New Roman', serif;
}

.ha-application-ticket__reference {
  display: grid;
  gap: .35rem;
  padding: .8rem 0;
  border-block: 1px dashed #778b9c;
  font: 1rem/1.35 Georgia, 'Times New Roman', serif;
}

.ha-application-ticket__pending {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}

.ha-application-ticket__spinner {
  flex: 0 0 auto;
  inline-size: 1.15rem;
  block-size: 1.15rem;
  box-sizing: border-box;
  border: 2px solid #778b9c;
  border-inline-start-color: #18242e;
  border-radius: 50%;
  animation: ha-application-number-spin .85s linear infinite;
}

@keyframes ha-application-number-spin {
  to { transform: rotate(1turn); }
}

@media (prefers-reduced-motion: reduce) {
  .ha-application-ticket__spinner { animation: none; }
}

.ha-application-ticket__reference strong {
  font-size: clamp(2.75rem, 9vw, 4.6rem);
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}

.ha-application-receipt {
  margin: 1.1rem auto 0;
}

.ha-application-ticket .ha-application-receipt a.ha-portal-receipt__button:focus-visible {
  outline-color: #344656;
}

.ha-application-ticket .ha-portal-receipt__note {
  max-inline-size: 36ch;
  margin: .85rem auto 0;
  color: #293743;
  font: 1rem/1.5 Georgia, 'Times New Roman', serif;
  overflow-wrap: anywhere;
}

/* Squarespace assigns fixed form rows before submission. Let the receipt size its row. */
section[data-section-id="66e3cddf5792bf7be55892c9"]:has(#block-6ec62a37c942301f57af[data-ha-portal-receipt-visible]) {
  min-block-size: 0 !important;
}

section[data-section-id="66e3cddf5792bf7be55892c9"]:has(#block-6ec62a37c942301f57af[data-ha-portal-receipt-visible]) .fe-66e3cddf5792bf7be55892c8 {
  grid-template: "intro" max-content "form" max-content / minmax(0, 1fr) !important;
  align-content: start;
}

section[data-section-id="66e3cddf5792bf7be55892c9"]:has(#block-6ec62a37c942301f57af[data-ha-portal-receipt-visible]) .fe-block-9efb29e883c9187ff0f4 {
  display: none;
}

.fe-block-6ec62a37c942301f57af:has(#block-6ec62a37c942301f57af[data-ha-portal-receipt-visible]),
#block-6ec62a37c942301f57af[data-ha-portal-receipt-visible],
#block-6ec62a37c942301f57af[data-ha-portal-receipt-visible] :is(.sqs-block-content, .sqs-site-style-form, .form-wrapper):has(.react-form-post-submit),
#block-6ec62a37c942301f57af[data-ha-portal-receipt-visible] .react-form-post-submit {
  block-size: auto !important;
  min-block-size: 0 !important;
  align-self: start;
}

#block-6ec62a37c942301f57af[data-ha-portal-receipt-visible] .form-wrapper:has(.react-form-post-submit) {
  display: block;
  padding: clamp(14px, 2.8vw, 40px);
}

/* The hiring block keeps its yellow form surface. Collapse the rows reserved for the fields after success. */
section[data-section-id="672ad21fe43e4e346fabd5d8"]:has(#block-yui_3_17_2_1_1756143055596_5053[data-ha-portal-receipt-visible]) {
  min-block-size: 0 !important;
}

.fe-672ad21f83a0490a8ec62d5e:has(#block-yui_3_17_2_1_1756143055596_5053[data-ha-portal-receipt-visible]) {
  grid-template-rows: max-content max-content !important;
  grid-auto-rows: auto !important;
  align-content: start;
}

.fe-672ad21f83a0490a8ec62d5e:has(#block-yui_3_17_2_1_1756143055596_5053[data-ha-portal-receipt-visible]) > .fe-block-yui_3_17_2_1_1786251581535_3533 {
  grid-row: 1 / 2 !important;
}

.fe-block-yui_3_17_2_1_1756143055596_5053:has(#block-yui_3_17_2_1_1756143055596_5053[data-ha-portal-receipt-visible]) {
  grid-row: 2 / 3 !important;
}

.fe-block-yui_3_17_2_1_1756143055596_5053:has(#block-yui_3_17_2_1_1756143055596_5053[data-ha-portal-receipt-visible]),
#block-yui_3_17_2_1_1756143055596_5053[data-ha-portal-receipt-visible],
#block-yui_3_17_2_1_1756143055596_5053[data-ha-portal-receipt-visible] :is(.sqs-block-content, .sqs-site-style-form, .form-wrapper):has(.react-form-post-submit),
#block-yui_3_17_2_1_1756143055596_5053[data-ha-portal-receipt-visible] .react-form-post-submit {
  block-size: auto !important;
  min-block-size: 0 !important;
  align-self: start;
}

#block-yui_3_17_2_1_1756143055596_5053[data-ha-portal-receipt-visible] {
  display: block !important;
}

#block-yui_3_17_2_1_1756143055596_5053[data-ha-portal-receipt-visible] .form-wrapper:has(.react-form-post-submit) {
  display: block;
  padding: clamp(14px, 2.8vw, 40px);
}

#block-yui_3_17_2_1_1756143055596_5053[data-ha-portal-receipt-visible] form.react-form-contents,
#block-yui_3_17_2_1_1756143055596_5053 .react-form-post-submit:has(> .ha-application-ticket) > :not(.ha-application-ticket) {
  display: none !important;
}

#footer-sections > .ha-admin-footer {
  display: flex;
  justify-content: center;
  padding: 0 12px 8px;
  background: #240909;
}

#footer-sections .ha-admin-footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: #f3deb0;
  font: 13px/1.4 Georgia, "Times New Roman", serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#footer-sections .ha-admin-footer-link:hover,
#footer-sections .ha-admin-footer-link:focus-visible { color: #fff; }
#footer-sections .ha-admin-footer-link:focus-visible { outline: 2px solid #d7a942; outline-offset: 2px; }
