.entry-sheet-entry-page {
  --entry-bg: #f3f4f6;
  --entry-surface: #ffffff;
  --entry-dark: #171717;
  --entry-primary: #000000;
  --entry-primary-hover: #262626;
  --entry-text: #1a1a1a;
  --entry-muted: #6b7280;
  --entry-line: #d1d5db;
  --entry-line-strong: #9ca3af;
  --entry-danger: #ef4444;
  position: relative;
  background: var(--entry-bg);
  color: var(--entry-text);
}

.entry-sheet-entry-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 70vh;
  background: var(--entry-dark);
}

.entry-sheet-entry-page .site-shell__top,
.entry-sheet-entry-page .site-shell__main,
.entry-sheet-entry-page .site-shell__copyright-wrap {
  position: relative;
  z-index: 1;
}

.entry-sheet-entry-page .site-shell__top {
  border-bottom: 0;
  background: transparent;
}

.entry-sheet-entry-page .site-shell__top-inner {
  width: min(calc(100% - 2rem), 1152px);
  margin: 0 auto;
  padding: 38px 0 18px;
}

.entry-sheet-entry-page .site-shell__logo img {
  height: 40px;
}

.entry-sheet-entry-page .site-shell__hero {
  display: none;
}

.entry-sheet-entry-page .site-shell__main {
  width: min(calc(100% - 2rem), 1152px);
  padding: 0 0 96px;
}

.entry-sheet-entry-page .site-shell__copyright-wrap {
  margin-top: 0;
  padding-bottom: 32px;
}

.entry-sheet-entry-page .site-shell__copyright {
  width: min(calc(100% - 2rem), 1152px);
  color: rgba(26, 26, 26, 0.42);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.entry-entry-card {
  overflow: hidden;
  background: var(--entry-surface);
  box-shadow: 0 24px 48px -24px rgba(17, 17, 17, 0.28);
}

.entry-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #f3f4f6;
}

.entry-flow-step {
  padding: 16px 0;
  color: #d1d5db;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.entry-flow-step.is-current {
  color: var(--entry-text);
}

.entry-flow-step.is-complete {
  color: #4b5563;
}

.entry-flow-step__index {
  display: inline;
  margin-right: 0.45rem;
}

.entry-flow-step__label {
  display: inline;
}

.entry-flow-progress {
  height: 3px;
  background: #e5e7eb;
}

.entry-flow-progress__bar {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--entry-primary);
}

.entry-entry-form {
  padding: 64px 80px 88px;
}

.entry-entry-section {
  padding-top: var(--space-entry-section-top);
  border-top: 1px solid var(--entry-line);
}

.entry-entry-section:not(:last-of-type) {
  padding-bottom: var(--space-entry-section-bottom);
}

.entry-entry-section:first-child,
.entry-entry-form > .entry-entry-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.entry-entry-section__head {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-entry-section-head-bottom);
}

.entry-entry-section__number {
  flex: 0 0 auto;
  font-size: 40px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #000000;
}

.entry-entry-section__eyebrow {
  margin: 0;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.entry-entry-section__title {
  margin: 6px 0 0;
  color: var(--entry-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.entry-sheet-list,
.entry-address-list,
.entry-education-list,
.entry-question-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry-sheet-list {
  display: grid;
  gap: 48px;
}

.entry-booking-calendar-shell {
  overflow: hidden;
}

.entry-booking-calendar-shell > .entry-help {
  margin-top: 0;
  margin-bottom: 20px;
}

.entry-booking-summary {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin-top: 40px;
}

.entry-booking-summary__selection[hidden] {
  display: none;
}

.entry-booking-summary__label {
  margin: 0;
  color: var(--entry-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.entry-booking-summary__value {
  margin: 0;
  color: var(--entry-text);
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.entry-booking-summary__value.is-error {
  color: var(--entry-danger);
  font-size: 14px;
}

.entry-booking-summary .btn {
  min-width: 280px;
  justify-content: center;
}

.entry-sheet-row {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.entry-sheet-row dt {
  padding-top: 16px;
  color: var(--entry-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.entry-sheet-row dd {
  display: grid;
  gap: 16px;
  margin: 0;
}

.entry-required {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  margin-left: 10px;
  padding: 3px 8px;
  background: var(--entry-danger);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

.entry-control,
.entry-control--wide,
.entry-control--medium,
.entry-control--small,
.entry-select,
.entry-textarea {
  border: 1px solid var(--entry-line-strong);
  border-radius: 0;
  background: #ffffff;
  color: var(--entry-text);
  box-shadow: none;
  transition: none;
}

.entry-control,
.entry-control--wide,
.entry-control--medium,
.entry-control--small,
.entry-select {
  min-height: 58px;
  padding: 0 16px;
  font-size: 16px;
}

.entry-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("../icons/outline/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px 16px;
  padding-right: 52px;
}

.entry-control--small {
  width: 120px;
}

select.entry-control--small {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("../icons/outline/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px 16px;
  padding-right: 52px;
}

.entry-control--medium {
  width: 320px;
  max-width: 100%;
}

.entry-control {
  width: 180px;
  max-width: 100%;
}

.entry-control--wide,
.entry-select,
.entry-textarea {
  width: 100%;
}

.entry-control:focus,
.entry-control--wide:focus,
.entry-control--medium:focus,
.entry-control--small:focus,
.entry-select:focus,
.entry-textarea:focus {
  outline: none;
  border-color: var(--entry-primary);
  background: #ffffff;
}

.entry-control.is-invalid,
.entry-control--wide.is-invalid,
.entry-control--medium.is-invalid,
.entry-control--small.is-invalid,
.entry-select.is-invalid,
.entry-textarea.is-invalid {
  border-color: var(--entry-danger);
  background: #fff5f5;
}

.entry-textarea {
  min-height: 188px;
  padding: 20px;
  font-size: 16px;
  line-height: 1.85;
  resize: vertical;
}

.entry-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}

.entry-inline--date {
  gap: 12px 10px;
}

.entry-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  min-height: 58px;
  align-items: center;
  padding: 0 4px;
}

.entry-radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--entry-text);
  font-size: 14px;
  cursor: pointer;
}

.entry-radio input {
  width: 20px;
  height: 20px;
  accent-color: var(--entry-primary);
}

.entry-help,
.entry-photo-note {
  color: var(--entry-muted);
  font-size: 12px;
  line-height: 1.8;
}

.entry-address-list {
  display: grid;
  gap: 16px;
}

.entry-postcode {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  color: var(--entry-muted);
}

.entry-file-field {
  display: grid;
  justify-items: stretch;
  gap: 14px;
}

.entry-file-field .file-dropzone__surface {
  min-height: 224px;
  border-radius: 0;
}

.entry-file-field .file-dropzone__icon {
  width: auto;
  height: auto;
  background: transparent;
}

.entry-file-field .file-dropzone__icon .icon {
  width: 48px;
  height: 48px;
  background-color: #cbd5e1;
}

.entry-file-name {
  color: var(--entry-muted);
  font-size: 13px;
  line-height: 1.6;
}

.entry-select:has(option[value=""]:checked),
.entry-select--placeholder {
  color: var(--color-text-muted);
}

.entry-select--placeholder:not(:has(option[value=""]:checked)) {
  color: var(--entry-text);
}

.entry-select option {
  color: var(--entry-text);
}

.entry-sheet-entry-page .btn {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.entry-sheet-entry-page .btn--primary {
  background: #000000;
}

.entry-sheet-entry-page .btn--primary:hover {
  background: #262626;
}

.entry-sheet-entry-page .btn--ghost {
  background: transparent;
  color: var(--entry-text);
}

.entry-sheet-entry-page .btn--ghost:link,
.entry-sheet-entry-page .btn--ghost:visited,
.entry-sheet-entry-page .btn--ghost:active {
  color: var(--entry-text);
}

.entry-sheet-entry-page .btn--ghost:hover {
  background: transparent;
  color: #4b5563;
}

.entry-education-list {
  display: grid;
  gap: 18px;
}

.entry-education-list li {
  display: grid;
  gap: 16px;
  align-items: start;
}

.entry-education-inline {
  flex-wrap: nowrap;
  width: 100%;
}

.entry-education-stack {
  display: grid;
  gap: 16px;
}

.entry-graduation-inline {
  flex-wrap: nowrap;
  width: 100%;
}

.entry-graduation-suffix {
  flex: 0 0 auto;
  color: var(--entry-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  white-space: nowrap;
}

.entry-education-date {
  width: 224px;
  max-width: 100%;
  flex: 0 0 224px;
}

.entry-graduation-inline .entry-education-date {
  flex: 0 1 224px;
}

.entry-education-school,
.entry-education-department {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.entry-education-text {
  width: auto;
  max-width: none;
  min-width: 0;
  flex: 1 1 auto;
}

.entry-question-list {
  display: grid;
  gap: 64px;
}

.entry-question-list li {
  position: relative;
}

.entry-question-list li[hidden] {
  display: none;
}

.entry-question {
  margin: 0 0 16px;
  color: var(--entry-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.entry-entry-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-entry-actions-gap);
  margin-top: var(--space-entry-actions-offset);
}

.entry-important-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-bg-danger-subtle);
  color: var(--color-danger-strong);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.entry-sheet-entry-page .entry-important-link,
.entry-sheet-entry-page .entry-important-link:link,
.entry-sheet-entry-page .entry-important-link:visited,
.entry-sheet-entry-page .entry-important-link:active {
  background: var(--color-bg-danger-subtle);
  color: var(--color-danger-strong);
}

.entry-sheet-entry-page .entry-important-link:hover {
  background: var(--color-bg-danger-subtle);
  opacity: 0.84;
  color: var(--color-danger-strong);
}

.entry-entry-submit {
  width: auto;
  min-width: 360px;
  min-height: 82px;
  justify-content: center;
  padding: 0 48px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.entry-consent-field {
  position: relative;
}

.entry-consent-choice {
  justify-content: center;
  color: var(--entry-text);
  font-size: 14px;
  font-weight: 500;
}

.entry-consent-choice a,
.entry-consent-choice a:link,
.entry-consent-choice a:visited,
.entry-consent-choice a:active {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.entry-postcode,
.entry-inline,
.entry-sheet-row dd,
.entry-file-field,
.entry-address-list li,
.entry-question-list li {
  position: relative;
}

.entry-sheet-entry-page .field-error-message {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  z-index: 2;
  max-width: min(360px, calc(100vw - 3rem));
  padding: 10px 12px;
  background: var(--entry-danger);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.entry-sheet-entry-page .field-error-message::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 16px;
  border: 8px solid transparent;
  border-top-color: var(--entry-danger);
}

.entry-important-link:focus-visible,
.entry-entry-submit:focus-visible {
  outline: 2px solid rgba(32, 63, 113, 0.24);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .entry-sheet-entry-page::before {
    height: 360px;
  }

  .entry-sheet-entry-page .site-shell__top-inner,
  .entry-sheet-entry-page .site-shell__main,
  .entry-sheet-entry-page .site-shell__copyright {
    width: calc(100% - 1.5rem);
  }

  .entry-sheet-entry-page .site-shell__top-inner {
    padding: 32px 0 14px;
  }

  .entry-entry-card {
    margin-top: 0;
  }

  .entry-entry-form {
    padding: 40px 20px 56px;
  }

  .entry-entry-section {
    padding-top: var(--space-entry-section-top-sm);
  }

  .entry-entry-section:not(:last-of-type) {
    padding-bottom: var(--space-entry-section-bottom-sm);
  }

  .entry-entry-section__head {
    gap: 16px;
    margin-bottom: var(--space-entry-section-head-bottom-sm);
  }

  .entry-entry-section__number {
    font-size: 34px;
  }

  .entry-entry-section__eyebrow {
    font-size: 14px;
  }

  .entry-sheet-list {
    gap: 36px;
  }

  .entry-sheet-row,
  .entry-education-list li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .entry-sheet-row dt,
  .entry-sheet-row dt {
    padding-top: 0;
  }

  .entry-control,
  .entry-control--medium,
  .entry-control--small {
    width: 100%;
  }

  .entry-education-inline {
    flex-wrap: wrap;
  }

  .entry-education-date {
    width: 100%;
    flex-basis: 100%;
  }

  .entry-graduation-inline {
    flex-wrap: nowrap;
  }

  .entry-graduation-inline .entry-education-date {
    width: auto;
    flex: 1 1 auto;
  }

  .entry-inline--date .entry-control--small {
    width: calc((100% - 20px) / 3);
    min-width: 88px;
  }

  .entry-radio-group {
    gap: 12px 28px;
    min-height: 0;
    padding: 0;
  }

  .entry-question-list {
    gap: 44px;
  }

  .entry-question {
    font-size: 15px;
  }

  .entry-entry-actions {
    gap: var(--space-entry-actions-gap-sm);
    margin-top: var(--space-entry-actions-offset-sm);
  }

  .entry-entry-submit {
    width: 100%;
    min-width: 0;
    min-height: 76px;
    padding: 0 20px;
    font-size: 16px;
    letter-spacing: 0.22em;
  }

  .entry-sheet-entry-page .field-error-message {
    max-width: calc(100vw - 4rem);
  }
}
