:root {
  --card-width: 400px;
  --card-border: #e5e5e5;
  --text: #000;
  --footer: #bdbdbd;
  --muted: #6c6c6c;
  --line: #dddddd;
  --overlay-selected: rgba(0, 0, 0, 0.4);
  --overlay-dimmed: rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: var(--text);
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body.is-mode-step {
  background: #f3f3f3;
}

body.is-calendar-step {
  background: #f3f3f3;
}

body.is-confirm-step {
  background: #f3f3f3;
}

.booking-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 24px;
}

.is-mode-step .booking-page {
  justify-content: center;
  gap: 14px;
  padding: 28px 0 18px;
}

.is-calendar-step .booking-page {
  justify-content: center;
  gap: 14px;
  padding: 28px 0 18px;
}

.is-confirm-step .booking-page {
  justify-content: center;
  gap: 14px;
  padding: 28px 0 18px;
}

.brand {
  align-self: flex-start;
  margin: 17px 0 33px 36px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
  text-decoration: none;
}

.floating-back-btn {
  position: absolute;
  top: -56px;
  left: 12px;
  margin: 0;
  width: 44px;
  height: 44px;
  border: 1px solid #d9dce1;
  border-radius: 999px;
  background: #f6f6f7;
  color: #35363a;
  display: none;
  place-items: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06), 0 6px 14px rgba(17, 24, 39, 0.08);
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.floating-back-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.floating-back-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.floating-back-btn:hover {
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.09), 0 8px 16px rgba(17, 24, 39, 0.12);
}

.floating-back-btn:active {
  transform: scale(0.98);
}

.is-calendar-step .floating-back-btn {
  display: grid;
}

.is-mode-step .brand {
  display: none;
}

.is-calendar-step .brand {
  display: none;
}

.is-confirm-step .brand {
  display: none;
}

.booking-card {
  width: min(var(--card-width), calc(100vw - 32px));
  border: 2px solid var(--card-border);
  border-radius: 8px;
  background: #fff;
  position: relative;
  overflow: visible;
}

.booking-card.step-mode {
  width: min(792px, calc(100vw - 40px));
  min-height: 560px;
  height: 560px;
  border-radius: 14px;
  border-width: 1px;
  border-color: #d6d6d6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.booking-card.step-calendar {
  width: min(792px, calc(100vw - 40px));
  min-height: 560px;
  height: 560px;
  border-radius: 14px;
  border-width: 1px;
  border-color: #d6d6d6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
  transition: width 180ms ease;
}

.booking-card.step-calendar.is-slot-open {
  width: min(980px, calc(100vw - 40px));
}

.booking-card.step-confirm {
  width: min(980px, calc(100vw - 40px));
  min-height: 560px;
  height: 560px;
  border-radius: 14px;
  border-width: 1px;
  border-color: #d6d6d6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.booking-card.step-submitted {
  width: min(980px, calc(100vw - 40px));
  min-height: 560px;
  height: 560px;
  border-radius: 14px;
  border-width: 1px;
  border-color: #d6d6d6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.booking-card.step-expired {
  width: min(980px, calc(100vw - 40px));
  min-height: 560px;
  height: 560px;
  border-radius: 14px;
  border-width: 1px;
  border-color: #d6d6d6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.step {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step.step-mode {
  align-items: stretch;
  min-height: inherit;
  height: 100%;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.step.step-calendar {
  align-items: stretch;
  min-height: inherit;
  height: 100%;
  overflow: hidden;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.step.step-confirm-modern {
  align-items: stretch;
  min-height: inherit;
  height: 100%;
  overflow: hidden;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.step.step-submitted-modern {
  align-items: stretch;
  min-height: inherit;
  height: 100%;
  overflow: hidden;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.step.step-expired-modern {
  align-items: stretch;
  min-height: inherit;
  height: 100%;
  overflow: hidden;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.step[hidden] {
  display: none !important;
}

.booking-card > .step {
  border-radius: inherit;
  overflow: hidden;
}

.mode-layout {
  width: 100%;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(0, 57%);
}

.step-calendar .mode-layout {
  min-height: 100%;
  height: 100%;
  grid-template-columns: minmax(0, 43%) minmax(0, 57%);
}

.mode-panel {
  padding: 26px 24px;
}

.mode-panel-left {
  position: relative;
  border-right: 1px solid #d8d8d8;
  display: flex;
  flex-direction: column;
  padding-bottom: 58px;
}

.mode-host-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mode-host-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e6ebf0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  overflow: hidden;
}

.mode-host-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  transform: translateY(-1%) scale(0.98);
  transform-origin: center;
  display: block;
}

.mode-host-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mode-host-brand {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.mode-host-name {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  color: #8b8b8b;
}

.mode-session-title {
  margin: 28px 0 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #0d5869;
}

.mode-session-meta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8b8b8b;
}

.mode-session-meta-icon {
  width: 19px;
  height: 19px;
  display: inline-flex;
}

.mode-session-meta-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.mode-session-meta-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
}

.mode-channel-info {
  margin-top: 10px;
  color: #7c7c7c;
  max-width: 290px;
}

.mode-channel-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-channel-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex-shrink: 0;
}

.mode-channel-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  color: #7a7a7a;
}

.mode-channel-icon img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.mode-channel-icon [hidden] {
  display: none !important;
}

.mode-channel-title {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  color: #7a7a7a;
}

.mode-channel-copy {
  margin: 6px 0 0 31px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.32;
  color: #7a7a7a;
  white-space: pre-line;
}

.mode-left-note {
  margin: auto 0 0;
  max-width: 288px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.28;
  color: #2c2c2c;
}

.mode-left-note-extra {
  display: inline;
}

.in-card-footer-links {
  position: absolute;
  left: 24px;
  bottom: 20px;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  line-height: 1;
}

.in-card-footer-links a {
  color: var(--footer);
  text-decoration: none;
}

.in-card-footer-links a:hover {
  color: #9d9d9d;
}

.mobile-bottom-links {
  display: none;
}

.step-mode .mode-left-note {
  margin: 12px 0 0;
  max-width: 320px;
}

.step-mode .mode-session-meta[aria-label="Terminart"] {
  margin-bottom: 48px;
}

.step-calendar .mode-left-note {
  margin-top: 12px;
  max-width: 320px;
}

.step-calendar .mode-session-meta[aria-label="Terminart"] {
  display: none !important;
}

@media (min-width: 861px) {
  .step-mode .mode-left-note,
  .step-calendar .mode-left-note {
    position: static;
    margin-top: auto;
    margin-bottom: 30px;
    max-width: 320px;
  }

  .step-mode .mode-panel-left,
  .step-calendar .mode-panel-left {
    padding-bottom: 26px;
  }

  .step-mode .mode-panel-left .in-card-footer-links,
  .step-calendar .mode-panel-left .in-card-footer-links {
    position: static;
    left: auto;
    bottom: auto;
    margin-top: 0;
    padding-top: 0;
  }

  .step-mode .mode-session-meta[aria-label="Terminart"] {
    margin-bottom: 44px;
  }
}

.mode-panel-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding-top: 36px;
  padding-left: 28px;
  padding-right: 28px;
}

.step-mode .mode-panel-right {
  padding-top: 26px;
}

.mode-step-right-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #37383f;
}

.mode-toggle-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.step-mode .mode-toggle-list {
  margin-top: 26px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  margin-top: 36px;
}

.profile-name {
  margin-top: 23px;
  min-height: 19px;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  text-align: center;
}

.title {
  margin: 24px 0 0;
  min-height: 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.subtitle {
  width: 356px;
  max-width: calc(100% - 44px);
  margin: 28px 0 0;
  min-height: 38px;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  text-align: center;
}

.step-mode .mode-option {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
  background: #111;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.step-mode .mode-option + .mode-option {
  margin-top: 14px;
}

.step-mode #modeOnline {
  height: auto;
  flex: 1 1 0;
  min-height: 0;
}

.step-mode #modeOnsite {
  height: auto;
  flex: 1 1 0;
  min-height: 0;
}

.step-mode .mode-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mode-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  transition: background-color 120ms linear;
}

.mode-option.is-selected .mode-overlay {
  background: rgba(0, 0, 0, 0.34);
}

.step-mode .mode-option.is-selected {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  transform: none;
}

.step-mode .mode-option:hover,
.step-mode .mode-option:focus-visible {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.step-mode .mode-option:hover .mode-overlay,
.step-mode .mode-option:focus-visible .mode-overlay {
  background: rgba(0, 0, 0, 0.34);
}

.step-mode .mode-option.is-selected:hover .mode-overlay,
.step-mode .mode-option.is-selected:focus-visible .mode-overlay {
  background: rgba(0, 0, 0, 0.22);
}

.step-mode .mode-option.is-selected::after {
  content: none;
}

.step-mode .mode-option:not(.is-selected) {
  opacity: 1;
  filter: none;
}

.step-mode .mode-option:not(.is-selected) .mode-label,
.step-mode .mode-option:not(.is-selected) .mode-location {
  color: #c5c5c5;
}

.step-mode.mode-none-selected .mode-option .mode-label,
.step-mode.mode-none-selected .mode-option .mode-location {
  color: #ececec;
}

.step-mode .mode-option:hover .mode-label,
.step-mode .mode-option:hover .mode-location,
.step-mode .mode-option:focus-visible .mode-label,
.step-mode .mode-option:focus-visible .mode-location {
  color: #fff !important;
}

.step-mode .mode-option.is-selected .mode-label {
  color: #fff;
}

.step-mode .mode-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #e7e7e7;
  font-size: 30px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-align: center;
  width: 100%;
  padding: 0 16px;
  white-space: nowrap;
}

.step-mode .mode-location {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #d2d2d2;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.primary-btn {
  width: 150px;
  height: 40px;
  margin-top: 24px;
  border: 0;
  border-radius: 5px;
  background: #0d5869;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  cursor: pointer;
  padding: 0 16px;
}

.mode-continue-btn {
  margin: 14px 0 0;
  align-self: flex-end;
  width: 128px;
  height: 42px;
  font-size: 14px;
  font-weight: 700;
  background: #000;
  transition: box-shadow 150ms ease, transform 150ms ease, background-color 150ms ease;
}

.mode-continue-btn:hover {
  background: #000;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.calendar-mode-layout {
  min-height: 560px;
}

.confirm-layout {
  min-height: 100%;
  height: 100%;
  grid-template-columns: minmax(0, 43%) minmax(0, 57%);
}

.confirm-left-panel {
  position: relative;
  border-right: 1px solid #d8d8d8;
  display: flex;
  flex-direction: column;
  padding-bottom: 58px;
}

.confirm-left-panel .mode-session-title {
  margin-top: 28px;
}

.confirm-booking-meta {
  margin-top: 10px;
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  color: #8b8b8b;
}

.confirm-booking-meta .mode-session-meta-text {
  line-height: 1.34;
  max-width: 296px;
}

.confirm-channel-info {
  margin-top: 10px;
  max-width: 296px;
}

.confirm-right-panel {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 26px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 16px;
  overflow: hidden;
}

.step-confirm-modern .status-title,
.step-submitted-modern .status-title,
.step-expired-modern .status-title {
  margin: 0;
  text-align: left;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #13151b;
}

.step-confirm-modern .status-subtitle {
  margin: 8px 0 0;
  width: auto;
  max-width: none;
  text-align: left;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.28;
  color: #2b2c31;
}

.step-confirm-modern .confirm-copy {
  margin: 18px 0 0;
  width: auto;
  max-width: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: #2f3036;
}

.confirm-form-scroll {
  margin-top: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  flex: 1 1 auto;
  min-height: 0;
  overscroll-behavior: contain;
}

.step-confirm-modern .question-block {
  width: 100%;
  max-width: none;
  margin: 20px 0 0;
}

.step-confirm-modern .question-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #18191f;
}

.step-confirm-modern .option-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.step-confirm-modern .option-btn {
  width: 100%;
  min-height: 40px;
  border: 1.4px solid #111;
  background: #fff;
  border-radius: 6px;
  text-align: center;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: #111;
}

.step-confirm-modern .option-btn + .option-btn {
  margin-top: 0;
}

.step-confirm-modern .option-btn.is-selected {
  background: #000;
  border-color: #000;
  color: #fff;
}

.step-confirm-modern .submit-btn {
  margin: 30px 0 2px auto;
  width: 228px;
  height: 42px;
  border-radius: 8px;
  background: #0d5869;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 150ms ease, transform 150ms ease, background-color 150ms ease, opacity 150ms ease;
}

.step-confirm-modern .submit-btn:hover:not(.is-disabled):not(:disabled) {
  background: #0d5869;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.step-confirm-modern .submit-btn.is-disabled,
.step-confirm-modern .submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.submitted-right-panel {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 26px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 16px;
}

.submitted-message-group {
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
  max-width: 600px;
}

.submitted-right-panel .submitted-title {
  text-align: center !important;
}

.submitted-copy {
  margin: 18px 0 0;
  width: auto;
  max-width: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: #2f3036;
  text-decoration: none;
}

.submitted-change-link-inline {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
  display: inline;
}

.submitted-change-link-inline:hover {
  color: #111;
}

.submitted-inline-message {
  display: none;
}

.submitted-inline-message .submitted-title {
  text-align: left !important;
}

.submitted-inline-more-btn {
  display: none;
}

.expired-inline-message {
  display: none;
}

.expired-inline-message .expired-title {
  text-align: left !important;
}

.expired-inline-more-btn {
  display: none;
}

.submitted-more-btn {
  margin: 36px 0 2px auto;
  width: 228px;
  height: 42px;
  border-radius: 8px;
  background: #0d5869;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: box-shadow 150ms ease, transform 150ms ease, background-color 150ms ease;
}

.submitted-more-btn:hover {
  background: #0d5869;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.expired-left-panel {
  position: relative;
  border-right: 1px solid #d8d8d8;
  display: flex;
  flex-direction: column;
  padding-bottom: 58px;
}

.expired-left-panel .mode-session-title {
  margin-top: 28px;
}

.expired-left-note {
  margin: 18px 0 0;
  max-width: 320px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42;
  color: #2f3036;
}

.expired-right-panel {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 26px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 16px;
}

.expired-message-group {
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
  max-width: 620px;
}

.step-expired-modern .expired-title {
  margin: 0;
  text-align: left !important;
  white-space: normal;
}

.expired-copy {
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: #2f3036;
}

.expired-contact-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(420px, 100%);
}

.expired-contact-item {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #dde1e7;
  border-radius: 12px;
  background: #f7f8fa;
  text-decoration: none;
  color: #1e2229;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.expired-contact-item:hover {
  border-color: #c9d0da;
  background: #fff;
  box-shadow: 0 4px 10px rgba(17, 24, 39, 0.06);
}

.expired-contact-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0d5869;
}

.expired-contact-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.expired-contact-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  word-break: break-word;
}

.step-expired-modern .expired-note {
  margin: 18px 0 0;
  width: auto;
  max-width: none;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42;
  color: #2f3036;
}

.step-expired .expired-more-btn {
  margin: 36px 0 2px auto;
  align-self: flex-end;
}

.expired-mobile-bottom-links {
  display: none;
}

.step-expired-modern .expired-layout {
  min-height: auto;
  height: auto;
  grid-template-columns: 1fr;
}

.step-expired-modern .expired-left-panel {
  border-right: 0;
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 28px;
}

.step-expired-modern .expired-right-panel {
  min-height: auto;
  height: auto;
  padding-top: 20px;
}

.step-expired-modern .expired-message-group {
  margin-top: 0;
  margin-bottom: 0;
}

@media (min-width: 861px) {
  .step-submitted .submitted-inline-message .submitted-title {
    text-align: left !important;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .step-confirm .confirm-form-scroll {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .step-confirm .question-title {
    font-size: 28px;
    line-height: 1.28;
    margin-bottom: 10px;
  }

  .step-confirm.step-confirm-modern .option-btn {
    font-size: 14px !important;
    min-height: 34px !important;
    line-height: 1.2 !important;
    padding: 2px 8px !important;
    border-radius: 8px;
    white-space: nowrap !important;
  }

  .step-confirm .submit-btn {
    margin-top: auto;
    margin-right: 0;
    margin-left: auto;
    margin-bottom: 2px;
    align-self: flex-end;
  }

  .booking-card.step-submitted {
    width: min(421px, calc(100vw - 40px));
  }

  .step-submitted .submitted-layout {
    grid-template-columns: 1fr;
  }

  .step-submitted .submitted-left-panel {
    border-right: 0;
  }

  .step-submitted .submitted-inline-message {
    display: block;
    margin: 28px 0 0;
    max-width: 620px;
  }

  .step-submitted .submitted-inline-message .submitted-title {
    text-align: left !important;
  }

  .step-submitted .submitted-inline-message .submitted-copy {
    margin-top: 12px;
  }

  .step-submitted .submitted-inline-message .submitted-inline-more-btn {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 36px 0 0;
  }

  .step-submitted .submitted-right-panel {
    display: none;
  }

  .booking-card.step-expired {
    width: min(421px, calc(100vw - 40px));
  }

  .step-expired .expired-layout {
    grid-template-columns: 1fr;
  }

  .step-expired .expired-left-panel {
    border-right: 0;
    border-bottom: 0;
  }

  .step-expired .expired-inline-message {
    display: block;
    margin: 28px 0 0;
    max-width: 620px;
  }

  .step-expired .expired-inline-message .expired-copy {
    margin-top: 12px;
  }

  .step-expired .expired-inline-message .expired-inline-more-btn {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 36px 0 0;
  }

  .step-expired .expired-right-panel {
    display: none;
  }
}

.calendar-left-panel {
  position: relative;
}

.calendar-right-panel {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 26px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 16px;
  overflow: hidden;
}

.calendar-header-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 34px;
}

.calendar-main-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #37383f;
}

.calendar-view-toggle {
  height: 52px;
  border: 1px solid #dfe1e6;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  gap: 4px;
  background: #f6f7fa;
}

.calendar-view-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #757575;
  padding: 0;
  display: grid;
  place-items: center;
}

.calendar-view-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.calendar-view-btn.is-active {
  color: #0d5869;
  background: #eaf3f5;
  box-shadow: inset 0 0 0 1px #b9d1d8;
}

.calendar-content-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.calendar-right-panel.has-slots .calendar-content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(162px, 180px);
  column-gap: 12px;
  align-items: stretch;
}

.calendar-date-pane {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.calendar-nav {
  width: 100%;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.month-controls {
  display: flex;
  gap: 8px;
}

.month-btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #232429;
  cursor: pointer;
  line-height: 1;
  border-radius: 0;
  padding: 0;
  display: grid;
  place-items: center;
}

.month-btn svg {
  width: 23px;
  height: 23px;
  display: block;
}

.month-btn path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.month-btn:disabled {
  color: #b6b7bc;
  cursor: default;
}

.month-btn:hover {
  color: #1f1f24;
}

.month-btn:disabled:hover {
  color: #b6b7bb;
}

.month-label {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  color: #37383f;
}

.calendar-grid {
  width: 100%;
  margin-top: 0;
  min-width: 0;
}

.weekdays,
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.weekdays {
  column-gap: 0;
  margin-bottom: 8px;
}

.weekday {
  height: 30px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #5a5b60;
  display: flex;
  align-items: center;
  justify-content: center;
}

.days {
  margin-top: 0;
  column-gap: 0;
  row-gap: 7px;
}

.day-btn {
  width: min(50px, 80%);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #919297;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.day-btn.is-available {
  background: #c9dde2;
  color: #0d5869;
  font-weight: 700;
}

.day-btn.is-available:hover {
  background: #bdd6dd;
}

.day-btn.is-current {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.day-btn.is-selected {
  background: #0d5869;
  color: #fff;
  font-weight: 700;
  transform: translateY(-1px);
  text-decoration: none;
}

.day-btn.is-leading-empty {
  visibility: hidden;
}

.day-btn.is-outside {
  color: #a3a4aa;
}

.day-btn.is-disabled,
.day-btn.is-weekend,
.day-btn.is-past {
  color: #9b9ca1;
  background: transparent;
}

.day-btn:disabled {
  cursor: default;
  pointer-events: none;
}

.calendar-slot-panel {
  margin-top: 0;
  border-left: 1px solid #e2e2e2;
  padding-left: 14px;
  min-width: 0;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.calendar-slot-panel[hidden] {
  display: none !important;
}

.calendar-right-panel.has-slots .calendar-timezone {
  display: none;
}

.slot-day-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #333;
}

.slot-day-date {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  color: #757575;
}

.slot-list {
  width: 100%;
  max-height: 100%;
  margin-top: 10px;
  overflow-x: hidden;
  overflow-y: scroll;
  padding-right: 4px;
  flex: 1 1 auto;
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.slot-btn {
  width: 100%;
  min-height: 36px;
  border: 1px solid #a7c6ce;
  border-radius: 16px;
  background: #fff;
  color: #0d5869;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  padding: 6px 8px;
}

.slot-btn + .slot-btn {
  margin-top: 8px;
}

.slot-btn.is-selected {
  border-color: #0d5869;
  background: #0d5869;
  color: #fff;
}

.booking-btn {
  margin-top: 42px;
  align-self: stretch;
  width: 100%;
  height: 42px;
  min-height: 42px;
  background: #0d5869;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 150ms ease, transform 150ms ease, background-color 150ms ease;
}

.booking-btn:hover:not(.is-disabled) {
  background: #0d5869;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.calendar-timezone {
  margin-top: auto;
  width: 100%;
  min-height: 50px;
  border: 1px solid #e2e3e7;
  border-radius: 17px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 2px 8px rgba(0, 0, 0, 0.05);
}

.calendar-timezone-icon {
  width: 22px;
  height: 22px;
  color: #3f4044;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-timezone-icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.calendar-timezone-label {
  font-size: 18px;
  line-height: 1;
  color: #37383f;
}

.calendar-timezone-caret {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 1px solid #e2e3e7;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #7e8086;
  line-height: 0;
  background: #fff;
}

.calendar-timezone-caret svg {
  width: 18px;
  height: 18px;
  display: block;
}

.booking-btn.is-disabled {
  background: #0d5869;
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.step-confirm:not(.step-confirm-modern),
.step-submitted:not(.step-submitted-modern),
.step-expired:not(.step-expired-modern) {
  align-items: center;
  padding: 0;
}

.status-title {
  margin: 16px 0 0;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
}

.status-subtitle,
.expired-subtitle {
  margin: 16px auto 0;
  width: 317px;
  max-width: 317px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
}

.summary-list {
  width: 317px;
  max-width: 317px;
  margin: 22px auto 0;
  display: flex;
  flex-direction: column;
}

.summary-list.compact {
  margin-top: 22px;
}

.summary-list.contact {
  margin-top: 14px;
}

.summary-row {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 2px 0;
}

.summary-icon {
  width: 14px;
  height: 14px;
  color: #646464;
  flex-shrink: 0;
}

.summary-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.summary-text {
  flex: 1;
  font-size: 11px;
  font-weight: 400;
  line-height: 13px;
  color: #000;
}

.summary-text a {
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

.status-divider {
  width: 317px;
  max-width: 317px;
  height: 1px;
  background: var(--line);
  margin: 26px auto 0;
}

.confirm-copy {
  width: 317px;
  max-width: 317px;
  margin: 18px auto 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 13px;
  text-align: left;
}

.question-block {
  width: 317px;
  max-width: 317px;
  margin: 20px auto 0;
}

.question-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 13px;
}

.option-list {
  display: flex;
  flex-direction: column;
}

.option-btn {
  width: 100%;
  min-height: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  text-align: left;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 400;
  line-height: 13px;
  cursor: pointer;
}

.option-btn + .option-btn {
  margin-top: 1px;
}

.option-btn.is-selected {
  background: #000;
  border-color: #000;
  color: #fff;
}

.submit-btn {
  width: 203px;
  margin: 22px auto 0;
}

.expired-note {
  width: 317px;
  max-width: 317px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
}

.booking-footer {
  width: min(var(--card-width), calc(100vw - 32px));
  margin-top: 64px;
  display: flex;
  justify-content: space-around;
  font-size: 12px;
  line-height: 1;
}

.booking-footer a {
  color: var(--footer);
  text-decoration: none;
}

.booking-footer a:hover {
  color: #9d9d9d;
}

.booking-footer-external {
  display: none;
}

.is-mode-step .booking-footer {
  width: min(792px, calc(100vw - 40px));
  margin-top: 2px;
  justify-content: flex-start;
  gap: 22px;
  font-size: 13px;
}

.is-calendar-step .booking-footer {
  width: min(792px, calc(100vw - 40px));
  margin-top: 2px;
  justify-content: flex-start;
  gap: 22px;
  font-size: 13px;
}

.is-mode-step .booking-footer-external,
.is-calendar-step .booking-footer-external,
.is-confirm-step .booking-footer-external {
  display: none;
}

.booking-card.step-calendar.is-slot-open ~ .booking-footer {
  width: min(980px, calc(100vw - 40px));
}

main.booking-page .step-confirm:not(.step-confirm-modern) .status-title,
main.booking-page .step-submitted:not(.step-submitted-modern) .status-title,
main.booking-page .step-expired:not(.step-expired-modern) .status-title {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 24px !important;
  text-align: center !important;
}

main.booking-page .step-confirm:not(.step-confirm-modern) .question-title {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

main.booking-page .step-confirm:not(.step-confirm-modern) .option-btn {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
}

@media (max-width: 860px) {
  .is-mode-step .booking-page,
  .is-calendar-step .booking-page,
  .is-confirm-step .booking-page {
    justify-content: flex-start;
    padding-top: 68px;
    padding-bottom: 18px;
  }

  .booking-card.step-mode,
  .booking-card.step-calendar {
    width: min(720px, calc(100vw - 20px));
    border: 1px solid var(--card-border);
    border-radius: 20px;
  }

  .booking-card.step-calendar.is-slot-open {
    width: min(720px, calc(100vw - 20px));
  }

  .booking-card.step-mode {
    height: auto;
  }

  .booking-card.step-calendar {
    min-height: auto;
    height: auto;
  }

  .step.step-calendar {
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  .floating-back-btn {
    top: -46px;
    left: 10px;
    width: 40px;
    height: 40px;
  }

  .floating-back-btn:active {
    transform: scale(0.98);
  }

  .floating-back-icon,
  .floating-back-icon svg {
    width: 18px;
    height: 18px;
  }

  .mode-layout {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .step-calendar .mode-layout {
    min-height: auto;
    height: auto;
    grid-template-columns: 1fr;
  }

  .mode-panel {
    padding: 28px 26px;
  }

  .mode-panel-left {
    border-right: 0;
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 28px;
  }

  .mode-session-title {
    margin-top: 20px;
    font-size: clamp(22px, 6.4vw, 30px);
  }

  .mode-session-meta {
    margin-top: 8px;
  }

  .mode-session-meta-icon,
  .mode-session-meta-icon svg {
    width: 18px;
    height: 18px;
  }

  .mode-session-meta-text {
    font-size: clamp(13px, 3.8vw, 15px);
  }

  .mode-channel-info {
    margin-top: 8px;
    max-width: 100%;
  }

  .mode-channel-icon,
  .mode-channel-icon svg,
  .mode-channel-icon img {
    width: 18px;
    height: 18px;
  }

  .mode-channel-title {
    font-size: clamp(13px, 3.8vw, 15px);
  }

  .mode-channel-copy {
    margin-left: 27px;
    font-size: clamp(12px, 3.5vw, 14px);
  }

  .in-card-footer-links {
    position: static;
    left: auto;
    bottom: auto;
    margin-top: auto;
    padding-top: 16px;
  }

  .step-mode .mode-panel-left,
  .step-calendar .mode-panel-left {
    padding-bottom: 62px;
  }

  .step-mode .mode-panel-left {
    border-bottom: 0;
    padding-bottom: 28px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .step-calendar .mode-panel-left {
    border-bottom: 0;
    padding-bottom: 24px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .step-mode .in-card-footer-links,
  .step-calendar .in-card-footer-links {
    position: absolute;
    left: 26px;
    bottom: 16px;
    margin-top: 0;
    padding-top: 0;
  }

  .mode-left-note {
    margin-top: 18px;
    max-width: 100%;
    font-size: clamp(16px, 4.6vw, 24px);
  }

  .step-mode .mode-session-meta[aria-label="Terminart"] {
    margin-bottom: 10px;
  }

  .step-calendar .mode-session-title,
  .step-confirm .mode-session-title,
  .step-submitted .mode-session-title,
  .step-expired .mode-session-title {
    margin-top: 20px;
    font-size: clamp(22px, 6.4vw, 30px);
  }

  .step-mode .mode-left-note,
  .step-calendar .mode-left-note {
    display: none;
  }

  .step-mode .mode-panel-left .in-card-footer-links {
    display: none;
  }

  .step-calendar .mode-panel-left .in-card-footer-links {
    display: none;
  }

  .mode-panel-right {
    justify-content: flex-start;
    padding-top: 20px;
  }

  .step-mode .mode-panel-right {
    padding-top: 10px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .mode-step-right-title {
    font-size: 21px;
  }

  .step-mode .mode-toggle-list {
    margin-top: 12px;
  }

  .step-calendar .calendar-right-panel {
    padding: 8px 18px 14px;
    overflow: visible;
  }

  .step-calendar .calendar-header-row {
    justify-content: space-between;
    margin-bottom: 8px;
  }

  .step-calendar .calendar-main-title {
    font-size: 19px;
  }

  .step-calendar .calendar-content-grid,
  .step-calendar .calendar-right-panel.has-slots .calendar-content-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .step-calendar .calendar-nav {
    margin-top: 0;
    margin-bottom: 10px;
  }

  .step-calendar .month-label {
    font-size: 20px;
  }

  .step-calendar .month-btn {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .step-calendar .calendar-grid {
    margin-top: 10px;
  }

  .step-calendar .weekday {
    height: 26px;
    font-size: 14px;
  }

  .step-calendar .day-btn {
    font-size: 16px;
  }

  .step-calendar .calendar-slot-panel {
    margin-top: 14px;
    border-left: 0;
    border-top: 1px solid #e2e2e2;
    padding-left: 0;
    padding-top: 12px;
    max-height: none;
    height: auto;
    overflow: visible;
  }

  .step-calendar .slot-day-title {
    font-size: 18px;
  }

  .step-calendar .slot-day-date {
    font-size: 14px;
  }

  .step-calendar .slot-list {
    max-height: 220px;
  }

  .step-calendar .slot-btn {
    min-height: 44px;
    border-radius: 18px;
    font-size: 17px;
  }

  .step-calendar .booking-btn {
    margin-top: 20px;
    width: 100%;
    max-width: none;
    height: 50px;
    min-height: 50px;
    border-radius: 8px;
  }

  .step-calendar .calendar-view-toggle {
    height: 52px;
    padding: 4px;
    gap: 4px;
  }

  .step-calendar .calendar-view-btn {
    width: 42px;
    height: 42px;
  }

  .step-calendar .calendar-timezone {
    min-height: 54px;
    border-radius: 16px;
    padding: 0 12px;
  }

  .booking-card.step-calendar.is-mobile-slot-view .mode-layout {
    min-height: auto;
    height: auto;
    grid-template-columns: 1fr;
  }

  .booking-card.step-calendar.is-mobile-slot-view .mode-panel-left {
    display: none;
  }

  .booking-card.step-calendar.is-mobile-slot-view .calendar-right-panel {
    padding: 20px 18px 16px;
    overflow: visible;
  }

  .booking-card.step-calendar.is-mobile-slot-view .calendar-header-row {
    display: none;
  }

  .booking-card.step-calendar.is-mobile-slot-view .calendar-content-grid,
  .booking-card.step-calendar.is-mobile-slot-view .calendar-right-panel.has-slots .calendar-content-grid {
    display: block;
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .booking-card.step-calendar.is-mobile-slot-view .calendar-date-pane {
    display: none;
  }

  .booking-card.step-calendar.is-mobile-slot-view .calendar-slot-panel {
    display: flex !important;
    margin-top: 0;
    border-top: 0;
    border-left: 0;
    padding-top: 0;
    padding-left: 0;
    max-height: none;
    height: auto;
    overflow: visible;
  }

  .booking-card.step-calendar.is-mobile-slot-view .slot-day-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.12;
    color: #2f3036;
  }

  .booking-card.step-calendar.is-mobile-slot-view .slot-day-date {
    margin-top: 6px;
    font-size: 19px;
    line-height: 1.22;
    color: #5f6066;
  }

  .booking-card.step-calendar.is-mobile-slot-view .slot-list {
    margin-top: 14px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .booking-card.step-calendar.is-mobile-slot-view .slot-btn {
    min-height: 46px;
    border-radius: 20px;
    font-size: 18px;
    margin-top: 0;
  }

  .booking-card.step-calendar.is-mobile-slot-view .slot-btn + .slot-btn {
    margin-top: 0;
  }

  .booking-card.step-calendar.is-mobile-slot-view .booking-btn {
    margin-top: 20px;
    width: 100%;
    height: 52px;
    min-height: 52px;
    border-radius: 8px;
  }

  .mode-toggle-list {
    width: 100%;
    flex: 0 0 auto;
  }

  .step-mode #modeOnline {
    height: 190px;
    flex: 0 0 auto;
  }

  .step-mode #modeOnsite {
    height: 184px;
    flex: 0 0 auto;
  }

  .step-mode .mode-label {
    left: 20px;
    top: 40px;
    font-size: clamp(26px, 7vw, 34px);
  }

  .mode-continue-btn {
    align-self: flex-start;
  }

  .step-mode .mobile-bottom-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1;
  }

  .step-mode .mobile-bottom-links a {
    color: var(--footer);
    text-decoration: none;
  }

  .step-mode .mobile-bottom-links a:hover {
    color: #9d9d9d;
  }

  .step-calendar .calendar-mobile-bottom-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1;
  }

  .step-calendar .calendar-mobile-bottom-links a {
    color: var(--footer);
    text-decoration: none;
  }

  .step-calendar .calendar-mobile-bottom-links a:hover {
    color: #9d9d9d;
  }

  .booking-card.step-confirm,
  .booking-card.step-submitted,
  .booking-card.step-expired {
    width: min(720px, calc(100vw - 20px));
    min-height: auto;
    height: auto;
  }

  .confirm-layout {
    min-height: auto;
    height: auto;
    grid-template-columns: 1fr;
  }

  .confirm-left-panel {
    border-right: 0;
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 28px;
  }

  .step-confirm .confirm-left-panel {
    border-bottom: 0;
    padding-bottom: 24px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .step-submitted .confirm-left-panel {
    border-bottom: 0;
    padding-bottom: 24px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .step-expired .confirm-left-panel {
    border-bottom: 0;
    padding-bottom: 24px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .confirm-right-panel {
    padding-top: 20px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 24px;
  }

  .step-confirm .confirm-right-panel {
    padding-top: 10px;
  }

  .step-expired .expired-right-panel {
    padding-top: 10px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 24px;
  }

  .submitted-right-panel {
    padding-top: 20px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 24px;
  }

  .step-confirm-modern .status-title,
  .step-submitted-modern .status-title,
  .step-expired-modern .status-title {
    font-size: clamp(36px, 9vw, 46px);
    line-height: 1.06;
  }

  .step-confirm .confirm-right-panel .status-title {
    text-align: left !important;
    margin-top: 0;
  }

  .step-confirm .confirm-right-panel .confirm-copy {
    margin-top: 12px;
  }

  .step-confirm-modern .status-subtitle {
    font-size: clamp(18px, 4.4vw, 22px);
  }

  .step-confirm-modern .confirm-copy {
    font-size: clamp(15px, 3.6vw, 16px);
  }

  .step-confirm-modern .question-title {
    font-size: 17px;
    line-height: 1.3;
  }

  .step-confirm-modern .option-btn {
    font-size: clamp(15px, 3.8vw, 17px);
  }

  .step-confirm-modern .option-list {
    grid-template-columns: 1fr;
  }

  .step-confirm-modern .submit-btn {
    width: 100%;
    max-width: none;
    height: 52px;
    margin-top: 40px;
  }

  .submitted-more-btn {
    width: min(320px, 100%);
    height: 52px;
  }

  .step-submitted .submitted-more-btn {
    display: flex;
    margin: 44px auto 2px;
    align-self: center;
  }

  .step-expired .expired-more-btn {
    display: flex;
    width: 100%;
    max-width: none;
    height: 52px;
    margin: 40px 0 2px;
    align-self: stretch;
    justify-content: center;
  }

  .step-submitted .submitted-right-panel {
    align-items: center;
  }

  .step-submitted .submitted-message-group {
    width: 100%;
    max-width: none;
  }

  .step-expired .expired-message-group,
  .step-expired .expired-contact-list {
    width: 100%;
    max-width: none;
  }

  .confirm-form-scroll {
    overflow: visible;
    padding-right: 0;
  }

  .step-confirm .confirm-left-panel .in-card-footer-links {
    display: none;
  }

  .step-confirm .confirm-mobile-bottom-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1;
  }

  .step-confirm .confirm-mobile-bottom-links a {
    color: var(--footer);
    text-decoration: none;
  }

  .step-confirm .confirm-mobile-bottom-links a:hover {
    color: #9d9d9d;
  }

  .step-expired .expired-mobile-bottom-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1;
  }

  .step-expired .expired-mobile-bottom-links a {
    color: var(--footer);
    text-decoration: none;
  }

  .step-expired .expired-mobile-bottom-links a:hover {
    color: #9d9d9d;
  }

  .step-mode .in-card-footer-links,
  .step-calendar .in-card-footer-links,
  .step-confirm .in-card-footer-links,
  .step-submitted .in-card-footer-links,
  .step-expired .in-card-footer-links,
  .step-mode .mobile-bottom-links,
  .step-calendar .calendar-mobile-bottom-links,
  .step-confirm .confirm-mobile-bottom-links,
  .step-expired .expired-mobile-bottom-links {
    display: none !important;
  }

  .booking-footer.booking-footer-external {
    display: flex !important;
    width: min(720px, calc(100vw - 20px)) !important;
    margin-top: 10px;
    justify-content: flex-start;
    gap: 20px;
    padding-left: 18px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .is-mode-step .booking-page,
  .is-calendar-step .booking-page,
  .is-confirm-step .booking-page {
    justify-content: flex-start;
    padding-top: 68px;
    padding-bottom: 18px;
  }

  .brand {
    margin: 8px 0 22px 32px;
    font-size: 26px;
    line-height: 36.4px;
  }

  .booking-card {
    width: min(400px, calc(100vw - 24px));
    border: 0;
    border-radius: 0;
  }

  .booking-card.step-mode,
  .booking-card.step-calendar,
  .booking-card.step-confirm,
  .booking-card.step-submitted,
  .booking-card.step-expired {
    min-height: auto;
  }

  .booking-card.step-mode,
  .booking-card.step-calendar,
  .booking-card.step-confirm,
  .booking-card.step-submitted,
  .booking-card.step-expired {
    width: min(720px, calc(100vw - 20px));
    border: 1px solid var(--card-border);
    border-radius: 24px;
  }

  .booking-card.step-calendar.is-slot-open {
    width: min(720px, calc(100vw - 20px));
  }

  .booking-card.step-mode {
    height: auto;
  }

  .booking-card.step-calendar {
    min-height: auto;
    height: auto;
  }

  .step.step-calendar {
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  .mode-layout {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .step-calendar .mode-layout {
    min-height: auto;
    height: auto;
    grid-template-columns: 1fr;
  }

  .mode-panel {
    padding: 30px 32px;
  }

  .mode-panel-left {
    border-right: 0;
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 30px;
  }

  .mode-host-avatar {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

  .mode-host-brand {
    font-size: clamp(18px, 5.8vw, 24px);
  }

  .mode-host-name {
    font-size: clamp(13px, 4.3vw, 15px);
  }

  .mode-session-title {
    margin-top: 24px;
    font-size: clamp(24px, 7.6vw, 32px);
  }

  .mode-session-meta {
    margin-top: 10px;
  }

  .mode-session-meta-icon,
  .mode-session-meta-icon svg {
    width: 18px;
    height: 18px;
  }

  .mode-session-meta-text {
    font-size: clamp(13px, 4.3vw, 15px);
  }

  .mode-channel-info {
    margin-top: 10px;
  }

  .mode-channel-icon,
  .mode-channel-icon svg,
  .mode-channel-icon img {
    width: 18px;
    height: 18px;
  }

  .mode-channel-title {
    font-size: clamp(13px, 4.3vw, 15px);
  }

  .mode-channel-copy {
    font-size: clamp(12px, 4vw, 14px);
  }

  .in-card-footer-links {
    position: static;
    left: auto;
    bottom: auto;
    margin-top: auto;
    padding-top: 16px;
  }

  .step-mode .mode-panel-left,
  .step-calendar .mode-panel-left {
    padding-bottom: 64px;
  }

  .step-mode .mode-panel-left {
    border-bottom: 0;
    padding-bottom: 30px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .step-calendar .mode-panel-left {
    border-bottom: 0;
    padding-bottom: 26px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .step-mode .in-card-footer-links,
  .step-calendar .in-card-footer-links {
    position: absolute;
    left: 32px;
    bottom: 16px;
    margin-top: 0;
    padding-top: 0;
  }

  .mode-left-note {
    margin-top: 18px;
    max-width: 100%;
    font-size: clamp(15px, 4.8vw, 18px);
  }

  .step-mode .mode-session-meta[aria-label="Terminart"] {
    margin-bottom: 10px;
  }

  .step-calendar .mode-session-title,
  .step-confirm .mode-session-title,
  .step-submitted .mode-session-title,
  .step-expired .mode-session-title {
    margin-top: 24px;
    font-size: clamp(24px, 7.6vw, 32px);
  }

  .step-mode .mode-left-note,
  .step-calendar .mode-left-note {
    display: none;
  }

  .step-mode .mode-panel-left .in-card-footer-links {
    display: none;
  }

  .step-calendar .mode-panel-left .in-card-footer-links {
    display: none;
  }

  .mode-panel-right {
    padding-top: 24px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .step-mode .mode-panel-right {
    padding-top: 10px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .mode-step-right-title {
    font-size: 19px;
    line-height: 1.16;
  }

  .step-mode .mode-toggle-list {
    margin-top: 12px;
  }

  .mode-toggle-list {
    width: 100%;
    flex: 0 0 auto;
  }

  .step-mode #modeOnline {
    height: 188px;
    flex: 0 0 auto;
  }

  .step-mode #modeOnsite {
    height: 182px;
    flex: 0 0 auto;
  }

  .step-mode .mode-label {
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(26px, 8.8vw, 34px);
    text-align: center;
  }

  .step-mode .mode-location {
    font-size: 15px;
  }

  .mode-continue-btn {
    margin-top: 18px;
    width: 100%;
    max-width: 220px;
    align-self: flex-start;
  }

  .step-mode .mobile-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1;
  }

  .step-mode .mobile-bottom-links a {
    color: var(--footer);
    text-decoration: none;
  }

  .step-mode .mobile-bottom-links a:hover {
    color: #9d9d9d;
  }

  .step-calendar .calendar-mobile-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1;
  }

  .step-calendar .calendar-mobile-bottom-links a {
    color: var(--footer);
    text-decoration: none;
  }

  .step-calendar .calendar-mobile-bottom-links a:hover {
    color: #9d9d9d;
  }

  .avatar {
    margin-top: 16px;
  }

  .profile-name {
    margin-top: 10px;
  }

  .title {
    margin-top: 18px;
  }

  .subtitle {
    margin-top: 12px;
    max-width: calc(100% - 40px);
  }

  .primary-btn {
    margin-top: 18px;
  }

  .step-calendar .calendar-right-panel {
    padding: 8px 18px 14px;
  }

  .step-calendar .calendar-header-row {
    justify-content: space-between;
    margin-bottom: 8px;
  }

  .step-calendar .calendar-main-title {
    font-size: 19px;
  }

  .step-calendar .calendar-content-grid,
  .step-calendar .calendar-right-panel.has-slots .calendar-content-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .step-calendar .calendar-nav {
    margin-top: 0;
    margin-bottom: 10px;
  }

  .step-calendar .month-label {
    font-size: 20px;
  }

  .step-calendar .month-btn {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .step-calendar .calendar-grid {
    margin-top: 10px;
  }

  .step-calendar .weekday {
    height: 26px;
    font-size: 14px;
  }

  .step-calendar .day-btn {
    font-size: 16px;
  }

  .step-calendar .calendar-slot-panel {
    margin-top: 14px;
    border-left: 0;
    border-top: 1px solid #e2e2e2;
    padding-left: 0;
    padding-top: 12px;
  }

  .step-calendar .slot-day-title {
    font-size: 18px;
  }

  .step-calendar .slot-day-date {
    font-size: 14px;
  }

  .step-calendar .slot-list {
    max-height: 186px;
  }

  .step-calendar .calendar-view-toggle {
    height: 52px;
    padding: 4px;
    gap: 4px;
  }

  .step-calendar .calendar-view-btn {
    width: 42px;
    height: 42px;
  }

  .step-calendar .calendar-view-btn svg {
    width: 22px;
    height: 22px;
  }

  .step-calendar .calendar-timezone {
    min-height: 54px;
    border-radius: 16px;
    padding: 0 12px;
  }

  .step-calendar .calendar-timezone-label {
    font-size: 16px;
  }

  .step-calendar .calendar-timezone-caret {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .booking-card.step-calendar.is-mobile-slot-view .mode-layout {
    min-height: auto;
    height: auto;
    grid-template-columns: 1fr;
  }

  .booking-card.step-calendar.is-mobile-slot-view .mode-panel-left {
    display: none;
  }

  .booking-card.step-calendar.is-mobile-slot-view .calendar-right-panel {
    padding: 22px 20px 18px;
    overflow: visible;
  }

  .booking-card.step-calendar.is-mobile-slot-view .calendar-header-row {
    display: none;
  }

  .booking-card.step-calendar.is-mobile-slot-view .calendar-content-grid,
  .booking-card.step-calendar.is-mobile-slot-view .calendar-right-panel.has-slots .calendar-content-grid {
    display: block;
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .booking-card.step-calendar.is-mobile-slot-view .calendar-date-pane {
    display: none;
  }

  .booking-card.step-calendar.is-mobile-slot-view .calendar-slot-panel {
    display: flex !important;
    margin-top: 0;
    border-top: 0;
    border-left: 0;
    padding-top: 0;
    padding-left: 0;
    max-height: none;
    height: auto;
    overflow: visible;
  }

  .booking-card.step-calendar.is-mobile-slot-view .slot-day-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.14;
    color: #2f3036;
  }

  .booking-card.step-calendar.is-mobile-slot-view .slot-day-date {
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.22;
    color: #5f6066;
  }

  .booking-card.step-calendar.is-mobile-slot-view .slot-list {
    margin-top: 14px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .booking-card.step-calendar.is-mobile-slot-view .slot-btn {
    min-height: 46px;
    border-radius: 20px;
    font-size: 17px;
    margin-top: 0;
  }

  .booking-card.step-calendar.is-mobile-slot-view .slot-btn + .slot-btn {
    margin-top: 0;
  }

  .booking-card.step-calendar.is-mobile-slot-view .booking-btn {
    margin-top: 20px;
    width: 100%;
    height: 52px;
    min-height: 52px;
    border-radius: 8px;
  }

  .step-confirm:not(.step-confirm-modern),
  .step-submitted:not(.step-submitted-modern),
  .step-expired:not(.step-expired-modern) {
    padding: 0;
  }

  .step-confirm:not(.step-confirm-modern) .status-title,
  .step-submitted:not(.step-submitted-modern) .status-title,
  .step-expired:not(.step-expired-modern) .status-title {
    margin-top: 10px;
    font-size: 24px;
    line-height: 24px;
  }

  .step-confirm:not(.step-confirm-modern) .status-subtitle,
  .step-submitted:not(.step-submitted-modern) .status-subtitle,
  .step-expired:not(.step-expired-modern) .expired-subtitle,
  .step-confirm:not(.step-confirm-modern) .summary-list,
  .step-confirm:not(.step-confirm-modern) .status-divider,
  .step-confirm:not(.step-confirm-modern) .confirm-copy,
  .step-confirm:not(.step-confirm-modern) .question-block,
  .step-expired:not(.step-expired-modern) .expired-note {
    width: calc(100% - 6px);
    max-width: 317px;
  }

  .summary-row {
    min-height: 38px;
  }

  .step-confirm:not(.step-confirm-modern) .submit-btn {
    margin-top: 14px;
  }

  .confirm-layout {
    min-height: auto;
    height: auto;
    grid-template-columns: 1fr;
  }

  .confirm-left-panel {
    border-right: 0;
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 30px;
  }

  .step-confirm .confirm-left-panel {
    border-bottom: 0;
    padding-bottom: 24px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .step-submitted .confirm-left-panel {
    border-bottom: 0;
    padding-bottom: 24px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .confirm-right-panel {
    padding: 24px 18px 26px;
  }

  .step-confirm .confirm-right-panel {
    padding-top: 10px;
  }

  .submitted-right-panel {
    padding: 24px 24px 26px;
  }

  .step-confirm-modern .status-title,
  .step-submitted-modern .status-title,
  .step-expired-modern .status-title {
    font-size: clamp(31px, 9vw, 40px);
    line-height: 1.07;
  }

  .step-confirm .confirm-right-panel .status-title {
    text-align: left !important;
    margin-top: 0;
  }

  .step-confirm .confirm-right-panel .confirm-copy {
    margin-top: 12px;
  }

  .step-confirm-modern .status-subtitle {
    font-size: clamp(17px, 4.7vw, 20px);
    line-height: 1.3;
  }

  .step-confirm-modern .confirm-copy {
    margin-top: 16px;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.4;
  }

  .step-confirm-modern .question-block {
    margin-top: 18px;
  }

  .step-confirm-modern .question-title {
    font-size: 17px;
    line-height: 1.3;
  }

  .step-confirm-modern .option-btn {
    min-height: 42px;
    font-size: clamp(15px, 4.3vw, 17px);
  }

  .step-confirm-modern .option-list,
  .step-confirm-modern .option-list[data-count="2"] {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step-confirm-modern .submit-btn {
    width: 100%;
    max-width: none;
    height: 50px;
    margin-top: 40px;
  }

  .submitted-more-btn {
    width: 100%;
    max-width: 320px;
    height: 50px;
  }

  .step-submitted .submitted-more-btn {
    display: flex;
    margin: 44px auto 2px;
    align-self: center;
  }

  .step-expired .expired-more-btn {
    display: flex;
    width: 100%;
    max-width: none;
    height: 50px;
    margin: 40px 0 2px;
    align-self: stretch;
    justify-content: center;
  }

  .step-submitted .submitted-right-panel {
    align-items: center;
  }

  .step-submitted .submitted-message-group {
    width: 100%;
    max-width: none;
  }

  .confirm-form-scroll {
    overflow: visible;
    padding-right: 0;
  }

  .step-confirm .confirm-left-panel .in-card-footer-links {
    display: none;
  }

  .step-confirm .confirm-mobile-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1;
  }

  .step-confirm .confirm-mobile-bottom-links a {
    color: var(--footer);
    text-decoration: none;
  }

  .step-confirm .confirm-mobile-bottom-links a:hover {
    color: #9d9d9d;
  }

  .step-expired .expired-mobile-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1;
  }

  .step-expired .expired-mobile-bottom-links a {
    color: var(--footer);
    text-decoration: none;
  }

  .step-expired .expired-mobile-bottom-links a:hover {
    color: #9d9d9d;
  }

  .step-mode .in-card-footer-links,
  .step-calendar .in-card-footer-links,
  .step-confirm .in-card-footer-links,
  .step-submitted .in-card-footer-links,
  .step-expired .in-card-footer-links,
  .step-mode .mobile-bottom-links,
  .step-calendar .calendar-mobile-bottom-links,
  .step-confirm .confirm-mobile-bottom-links,
  .step-expired .expired-mobile-bottom-links {
    display: none !important;
  }

  .booking-footer.booking-footer-external {
    display: flex !important;
    width: min(720px, calc(100vw - 20px)) !important;
    margin-top: 10px;
    justify-content: flex-start;
    gap: 20px;
    padding-left: 18px;
    font-size: 13px;
  }

  .booking-footer {
    margin-top: 36px;
    width: min(360px, calc(100vw - 38px));
  }

  .floating-back-btn {
    top: -46px;
    left: 8px;
    margin: 0;
    transform: none;
    width: 36px;
    height: 36px;
  }

  .floating-back-btn:active {
    transform: scale(0.98);
  }

  .floating-back-icon,
  .floating-back-icon svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 860px) {
  .step-confirm.step-confirm-modern .confirm-right-panel,
  .step-submitted.step-submitted-modern .submitted-right-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .step-confirm.step-confirm-modern .confirm-copy,
  .step-confirm.step-confirm-modern .confirm-form-scroll,
  .step-confirm.step-confirm-modern .question-block,
  .step-confirm.step-confirm-modern .option-list,
  .step-confirm.step-confirm-modern .option-list[data-count="2"],
  .step-confirm.step-confirm-modern .submit-btn {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .step-confirm.step-confirm-modern .confirm-right-panel,
  .step-submitted.step-submitted-modern .submitted-right-panel {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Hard desktop override for qualification answer typography */
@media (min-width: 768px) {
  main.booking-page .step.step-confirm .option-btn {
    font-size: 14px !important;
    line-height: 1.2 !important;
    min-height: 34px !important;
    padding: 2px 8px !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Hard mobile override for qualification answer typography */
@media (max-width: 860px) {
  main.booking-page .step.step-confirm.step-confirm-modern .option-btn {
    font-size: 14px !important;
    line-height: 1.2 !important;
    min-height: 36px !important;
    padding: 2px 10px !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Expired hard fixes: prevent clipping and simplify header */
.booking-card.step-expired {
  min-height: auto !important;
  height: auto !important;
}

.booking-card.step-expired > .step.step-expired-modern {
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
}

.step.step-expired-modern .mode-layout.expired-layout {
  min-height: auto !important;
  height: auto !important;
}

.step.step-expired-modern .mode-host-avatar {
  display: none !important;
}

.step.step-expired-modern .mode-host-row {
  align-items: flex-start;
  gap: 0;
}

.step.step-expired-modern .mode-host-text {
  align-items: flex-start;
}

/* Final mobile footer fix for expired screen */
@media (max-width: 860px) {
  .booking-card.step-expired + .booking-footer.booking-footer-external {
    display: none !important;
  }

  .step.step-expired-modern .expired-right-panel {
    overflow: visible !important;
    padding-bottom: 24px !important;
  }

  .step.step-expired-modern .expired-more-btn {
    margin: 24px 0 0 !important;
  }

  .step.step-expired-modern .expired-mobile-bottom-links {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 22px;
    margin-top: 16px !important;
    font-size: 13px;
    line-height: 1;
  }

  .step.step-expired-modern .expired-mobile-bottom-links a {
    color: var(--footer);
    text-decoration: none;
    white-space: nowrap;
  }

  .step.step-expired-modern .expired-mobile-bottom-links a:hover {
    color: #9d9d9d;
  }
}

/* Desktop footer fix for expired screen */
@media (min-width: 861px) {
  .booking-card.step-expired + .booking-footer.booking-footer-external {
    display: none !important;
  }

  .step.step-expired-modern .expired-right-panel {
    padding-bottom: 46px !important;
  }

  .step.step-expired-modern .expired-more-btn {
    margin: 30px 0 0 !important;
  }

  .step.step-expired-modern .expired-mobile-bottom-links {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 22px;
    margin-top: 20px !important;
    font-size: 13px;
    line-height: 1;
  }

  .step.step-expired-modern .expired-mobile-bottom-links a {
    color: var(--footer);
    text-decoration: none;
    white-space: nowrap;
  }

  .step.step-expired-modern .expired-mobile-bottom-links a:hover {
    color: #9d9d9d;
  }
}

/* Critical expired spacing/footer override across all viewport widths */
body.is-expired-step .booking-footer.booking-footer-external {
  display: none !important;
}

body.is-expired-step .step.step-expired-modern .expired-right-panel {
  overflow: visible !important;
  padding-bottom: 58px !important;
}

body.is-expired-step .step.step-expired-modern .expired-more-btn {
  margin: 34px 0 0 !important;
  position: relative;
  z-index: 2;
}

body.is-expired-step .step.step-expired-modern .expired-mobile-bottom-links {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 22px;
  margin-top: 30px !important;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

/* Expired single-column desktop layout: keep legal links in normal flow below CTA */
@media (min-width: 861px) {
  .step-expired .expired-left-panel {
    padding-bottom: 36px !important;
  }

  .step-expired .expired-left-panel .in-card-footer-links {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    margin-top: 42px !important;
    padding-top: 0 !important;
  }

  .step-expired .expired-inline-message .expired-inline-more-btn {
    margin: 42px 0 0 !important;
  }
}

/* Submitted legal links: add clear bottom spacing inside the card */
.step-submitted .submitted-left-panel .in-card-footer-links {
  bottom: 30px;
  line-height: 1.2;
}
