.resource-gate-lock {
  overflow: hidden;
}

.resource-gate-dialog {
  width: min(44rem, calc(100vw - 2rem));
  max-width: 44rem;
  height: min(47rem, calc(100dvh - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: .35rem;
  background: #fff;
  box-shadow: 0 1.25rem 4rem rgba(5, 20, 45, .35);
}

.resource-gate-dialog::backdrop {
  background: rgba(5, 20, 45, .72);
}

.resource-gate-dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}

.resource-gate-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  background: #17365d;
  color: #fff;
}

.resource-gate-dialog-header strong {
  color: #fff;
  font-size: 1rem;
}

.resource-gate-close {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: .0625rem solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.resource-gate-close:hover,
.resource-gate-close:focus-visible {
  background: #fff;
  color: #17365d;
}

.resource-gate-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

.resource-gate-fallback {
  margin: 1rem;
}

body.resource-access-page {
  margin: 0;
  background: #f4f7fa;
  color: #202124;
  font-family: Arial, Helvetica, sans-serif;
}

.resource-access-shell {
  width: min(42rem, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

.resource-access-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: .25rem solid #0b6e9f;
}

.resource-access-brand img {
  width: min(13rem, 55vw);
  height: auto;
}

.resource-access-panel {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: .0625rem solid #c9d5e2;
  border-radius: .25rem;
  background: #fff;
  box-shadow: 0 .4rem 1.2rem rgba(23, 54, 93, .08);
}

.resource-access-panel h1 {
  margin: 0 0 .65rem;
  color: #17365d;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.18;
}

.resource-access-intro {
  margin: 0;
}

.resource-access-selection {
  margin: 1rem 0 1.25rem;
  padding: .85rem 1rem;
  border-left: .35rem solid #8b1e2d;
  background: #f7f8fa;
}

.resource-access-selection span {
  display: block;
  margin-bottom: .25rem;
  color: #4b5563;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.resource-access-selection strong {
  display: block;
  color: #202124;
  line-height: 1.35;
}

.resource-access-form {
  min-height: 18rem;
}

.resource-access-form .fsForm,
.resource-access-form .fsForm * {
  font-family: Arial, Helvetica, sans-serif !important;
}

.resource-access-form #label-field24226812,
.resource-access-form #label-field25915427,
.resource-access-form #label-field24226816 {
  display: none !important;
}

.resource-access-form .fsForm {
  margin: 0 !important;
  padding: 0 !important;
}

.resource-access-form .fsSubmitButton {
  min-height: 2.75rem;
  padding: .7rem 1.1rem !important;
  border: 0 !important;
  border-radius: .2rem !important;
  background: #0b6e9f !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.resource-access-form .fsSubmitButton:hover,
.resource-access-form .fsSubmitButton:focus-visible {
  background: #084f73 !important;
}

.resource-access-status {
  min-height: 1.5rem;
  margin-top: .75rem;
  color: #17365d;
  font-weight: 700;
}

.resource-download-button {
  display: inline-block;
  min-height: 2.75rem;
  padding: .75rem 1.1rem;
  border-radius: .2rem;
  background: #0b6e9f;
  color: #fff;
  box-sizing: border-box;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.resource-download-button:hover,
.resource-download-button:focus-visible {
  background: #084f73;
  color: #fff;
}

.resource-download-button[hidden] {
  display: none;
}

.resource-access-error {
  padding: .85rem 1rem;
  border-left: .35rem solid #8b1e2d;
  background: #fce8eb;
  color: #65131f;
}

@media (max-width: 700px) {
  .resource-gate-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .resource-gate-dialog-header {
    padding: .65rem .75rem;
  }

  .resource-access-shell {
    padding: .75rem;
  }

  .resource-access-panel {
    margin-top: .75rem;
    padding: 1rem;
  }

  .resource-access-form label.fsFieldCell {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .35rem !important;
  }

  .resource-access-form label.fsFieldCell > div {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .resource-access-form input,
  .resource-access-form select,
  .resource-access-form textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}
