.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.calendar-open {
  overflow: hidden;
}

.cofounder-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.cofounder-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.cofounder-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 30, 0.82);
  backdrop-filter: blur(12px);
}

.cofounder-modal-dialog {
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(380px, 0.46fr) minmax(500px, 0.54fr);
  overflow: auto;
  color: #14221c;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  box-shadow:
    0 48px 120px -36px rgba(0, 0, 0, 0.75),
    0 0 90px -44px rgba(36, 107, 254, 0.72);
  transform: translateY(18px) scale(0.985);
  transition: transform 200ms ease;
}

.cofounder-modal.is-open .cofounder-modal-dialog {
  transform: translateY(0) scale(1);
}

.cofounder-modal-close {
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 5;
  top: 13px;
  right: 14px;
  display: grid;
  place-items: center;
  color: #5c6a82;
  background: #f3f6fa;
  border: 1px solid #dce3ee;
  border-radius: 50%;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.cofounder-modal-close:hover {
  color: #08162f;
  background: #eaf1ff;
  transform: rotate(3deg);
}

.cofounder-modal-close:focus-visible,
.cofounder-qualification-form input:focus-visible,
.cofounder-qualification-form select:focus-visible,
.cofounder-qualification-form button:focus-visible,
.cofounder-native-calendar button:focus-visible,
.cofounder-native-calendar select:focus-visible {
  outline: 3px solid rgba(36, 107, 254, 0.24);
  outline-offset: 2px;
}

.cofounder-booking-progress {
  min-height: 64px;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 15px 64px 15px 24px;
  color: #9aa7a1;
  background: #fff;
  border-bottom: 1px solid #dfe8e4;
  font-size: 13px;
  font-weight: 700;
}

.cofounder-booking-progress span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.cofounder-booking-progress i {
  width: 9px;
  height: 9px;
  display: inline-block;
  background: #d5ded9;
  border: 2px solid #d5ded9;
  border-radius: 50%;
}

.cofounder-booking-progress .is-active {
  color: #14221c;
}

.cofounder-booking-progress .is-active i {
  background: #246bfe;
  border-color: #246bfe;
  box-shadow: 0 0 0 4px rgba(36, 107, 254, 0.1);
}

.cofounder-booking-progress .is-complete {
  color: #557169;
}

.cofounder-booking-progress .is-complete i {
  background: #87b821;
  border-color: #87b821;
}

.cofounder-booking-intro {
  min-height: 724px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px 34px 34px;
  background:
    radial-gradient(72% 38% at 0% 0%, rgba(36, 107, 254, 0.08), transparent 74%),
    #fff;
  border-right: 1px solid #dfe8e4;
}

.cofounder-booking-brand {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cofounder-booking-brand img {
  width: 144px;
  height: auto;
}

.cofounder-booking-brand > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 12px;
  border-left: 1px solid #dce3ee;
  color: #233249;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.cofounder-booking-brand small {
  color: #71837a;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: normal;
}

.cofounder-booking-duration {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  margin-bottom: 14px;
  color: #1754d1;
  background: #eaf1ff;
  border: 1px solid #cfddff;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
}

.cofounder-booking-copy h2 {
  max-width: 14ch;
  margin: 0 0 11px;
  color: #0a1630;
  font-family: 'Rubik', 'Karla', ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.07;
}

.cofounder-booking-copy p {
  margin: 0;
  color: #53665d;
  font-size: 13.5px;
  line-height: 1.5;
}

.cofounder-booking-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #45584f;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.cofounder-booking-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cofounder-booking-points li span {
  width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #0a1630;
  background: #c9f95f;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.cofounder-qualification-form {
  display: grid;
  gap: 13px;
  margin-top: 2px;
}

.cofounder-honeypot {
  width: 1px;
  height: 1px;
  position: absolute;
  left: -10000px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.cofounder-form-page {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.cofounder-form-page.is-active {
  display: grid;
}

.cofounder-form-page label,
.cofounder-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cofounder-phone-field,
.cofounder-full-field,
.cofounder-booking-consent,
.cofounder-sms-consent {
  grid-column: 1 / -1;
}

.cofounder-form-page .cofounder-sms-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  cursor: pointer;
}

.cofounder-qualification-form .cofounder-sms-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 4px;
  accent-color: #246bfe;
}

.cofounder-form-page .cofounder-sms-consent > span {
  color: #65766e;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.45;
}

.cofounder-form-page-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #65766e;
  font-size: 10.5px;
  font-weight: 800;
}

.cofounder-form-page-indicator > i {
  height: 4px;
  flex: 1;
  overflow: hidden;
  background: #e3ebe7;
  border-radius: 999px;
}

.cofounder-form-page-indicator > i > b {
  width: 50%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #246bfe, #73a1ff);
  border-radius: inherit;
  transition: width 180ms ease;
}

.cofounder-form-page label > span,
.cofounder-form-field > span {
  color: #52645c;
  font-size: 11px;
  font-weight: 800;
}

.cofounder-qualification-form input,
.cofounder-qualification-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: #13221c;
  background: #fbfdfc;
  border: 1px solid #d7e2dd;
  border-radius: 11px;
  outline: none;
  font: inherit;
  font-size: 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cofounder-qualification-form input::placeholder {
  color: #98a49e;
}

.cofounder-qualification-form input:focus,
.cofounder-qualification-form select:focus {
  background: #fff;
  border-color: #7b9fe8;
  box-shadow: 0 0 0 3px rgba(36, 107, 254, 0.1);
}

.cofounder-qualification-form input:disabled,
.cofounder-qualification-form select:disabled {
  color: #6f7e77;
  background: #f2f6f4;
  cursor: not-allowed;
}

.cofounder-phone-control {
  display: grid;
  grid-template-columns: minmax(178px, 0.95fr) 1.05fr;
  min-height: 46px;
  overflow: hidden;
  background: #fbfdfc;
  border: 1px solid #d7e2dd;
  border-radius: 11px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cofounder-phone-control:focus-within {
  background: #fff;
  border-color: #7b9fe8;
  box-shadow: 0 0 0 3px rgba(36, 107, 254, 0.1);
}

.cofounder-phone-control select,
.cofounder-phone-control input {
  min-width: 0;
  min-height: 44px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cofounder-phone-control select {
  border-right: 1px solid #d7e2dd;
}

.cofounder-phone-control select:focus,
.cofounder-phone-control input:focus {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.cofounder-booking-consent {
  margin: 0;
  color: #78867f;
  font-size: 10.5px;
  line-height: 1.45;
}

.cofounder-form-message {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.45;
}

.cofounder-form-message.is-error {
  color: #a63c32;
  background: #fff2f0;
  border: 1px solid #f5d2cd;
}

.cofounder-form-message.is-success {
  color: #126c56;
  background: #eaf7f2;
  border: 1px solid #cbeade;
}

.cofounder-form-message.is-neutral {
  color: #655d45;
  background: #faf7ec;
  border: 1px solid #ece4c8;
}

.cofounder-form-actions {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 10px;
}

.cofounder-form-actions.is-single {
  grid-template-columns: 1fr;
}

.cofounder-form-actions button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: #08162f;
  background: linear-gradient(135deg, #c9f95f, #b4ea43);
  border: 0;
  border-radius: 11px;
  box-shadow: 0 12px 28px -16px rgba(107, 151, 18, 0.76);
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  transition: transform 100ms ease, filter 160ms ease;
}

.cofounder-form-actions button[hidden] {
  display: none;
}

.cofounder-form-actions button.is-secondary {
  color: #315b50;
  background: #edf4f1;
  border: 1px solid #d7e4df;
  box-shadow: none;
}

.cofounder-form-actions button:hover:not(:disabled) {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.cofounder-form-actions button:disabled {
  color: #75847d;
  background: #e3eae7;
  box-shadow: none;
  cursor: default;
}

.cofounder-booking-calendar {
  min-width: 0;
  min-height: 724px;
  padding: 30px;
  background: #fff;
}

.cofounder-booking-calendar-head {
  min-height: 62px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 2px 4px 22px;
  border-bottom: 1px solid #e8efec;
}

.cofounder-booking-step {
  display: block;
  margin-bottom: 5px;
  color: #246bfe;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cofounder-booking-calendar-head h3 {
  margin: 0;
  color: #0a1630;
  font-family: 'Rubik', 'Karla', ui-sans-serif, system-ui, sans-serif;
  font-size: 20px;
  letter-spacing: -0.015em;
}

.cofounder-booking-secure {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  color: #557068;
  background: #f2f8f5;
  border: 1px solid #e1ece7;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.cofounder-booking-secure span {
  color: #28b184;
  font-size: 8px;
}

.cofounder-booking-secure.is-locked {
  color: #89958f;
  background: #f5f7f6;
  border-color: #e5eae8;
}

.cofounder-booking-secure.is-locked span {
  color: #b6bfbb;
}

.cofounder-calendar-frame {
  min-height: 590px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 0 0 18px 18px;
}

.cofounder-calendar-preview {
  min-height: 560px;
  padding: 32px 20px 20px;
  position: absolute;
  inset: 0;
  background: #fff;
}

.cofounder-calendar-preview-head,
.cofounder-native-month-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.cofounder-calendar-preview-head {
  margin: 0 auto 28px;
  color: #17271f;
}

.cofounder-calendar-preview-head strong,
.cofounder-native-month-head strong {
  font-size: 17px;
}

.cofounder-calendar-preview-arrow,
.cofounder-native-month-head button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5f7169;
  background: #fff;
  border: 1px solid #e1ebe7;
  border-radius: 9px;
  font-size: 23px;
  line-height: 1;
}

.cofounder-calendar-weekdays,
.cofounder-calendar-days,
.cofounder-native-weekdays,
.cofounder-native-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(34px, 1fr));
  gap: 7px;
  text-align: center;
}

.cofounder-calendar-weekdays,
.cofounder-native-weekdays {
  margin-bottom: 10px;
  color: #87978f;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cofounder-calendar-day {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  color: #a7b2ad;
  border: 1px solid transparent;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.cofounder-calendar-day.is-available {
  color: #21372e;
  background: #f0f4fa;
  border-color: #e2e8f2;
}

.cofounder-calendar-day.is-today {
  color: #fff;
  background: #246bfe;
  border-color: #246bfe;
}

.cofounder-calendar-preview.is-locked .cofounder-calendar-preview-head,
.cofounder-calendar-preview.is-locked .cofounder-calendar-weekdays,
.cofounder-calendar-preview.is-locked .cofounder-calendar-days {
  opacity: 0.38;
}

.cofounder-calendar-preview.is-locked .cofounder-calendar-day.is-available,
.cofounder-calendar-preview.is-locked .cofounder-calendar-day.is-today {
  color: #68756f;
  background: #e9eeec;
  border-color: #e2e8e5;
}

.cofounder-calendar-lock-message,
.cofounder-calendar-load-error {
  width: min(380px, calc(100% - 40px));
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  position: absolute;
  top: 45%;
  left: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  color: #283730;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #cfd9d4;
  border-radius: 12px;
  box-shadow: 0 16px 34px -18px rgba(15, 31, 24, 0.48);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.cofounder-calendar-loading {
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 30px;
  color: #61716a;
  text-align: center;
}

.cofounder-calendar-loading span {
  width: 42px;
  height: 42px;
  display: block;
  margin: 0 auto 14px;
  border: 4px solid #e2e8f2;
  border-top-color: #246bfe;
  border-radius: 50%;
  animation: cofounder-spin 0.8s linear infinite;
}

.cofounder-calendar-load-error {
  min-height: auto;
  flex-direction: column;
  gap: 12px;
  color: #7f352f;
  border-color: #efd1cc;
  font-size: 12px;
}

.cofounder-calendar-load-error p {
  margin: 0;
}

.cofounder-calendar-load-error button {
  min-height: 38px;
  padding: 0 18px;
  color: #fff;
  background: #246bfe;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.cofounder-native-calendar {
  min-height: 590px;
  padding: 15px 4px 4px;
}

.cofounder-native-timezone {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  color: #66776f;
  border-bottom: 1px solid #e8efec;
  font-size: 12px;
}

.cofounder-native-timezone i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #24a87d;
  border-radius: 50%;
}

.cofounder-native-timezone select {
  min-width: 0;
  flex: 1;
  padding: 6px 26px 6px 8px;
  color: #23372e;
  background: #f6faf8;
  border: 1px solid #dbe9e3;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.cofounder-native-month-head {
  min-height: 56px;
  padding: 7px 10px 3px;
}

.cofounder-native-month-head button {
  cursor: pointer;
  font: inherit;
}

.cofounder-native-month-head button:disabled {
  color: #c5ceca;
  background: #fafcfb;
  cursor: default;
}

.cofounder-native-weekdays {
  margin: 6px 10px 8px;
}

.cofounder-native-days {
  gap: 5px;
  margin: 0 10px;
}

.cofounder-native-days > span,
.cofounder-native-days > button {
  width: 38px;
  height: 38px;
  justify-self: center;
}

.cofounder-native-days > button {
  position: relative;
  color: #1e342a;
  background: #f1f5fb;
  border: 1px solid #e2e8f2;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease, transform 100ms ease;
}

.cofounder-native-days > button:hover:not(:disabled) {
  border-color: #91aff0;
  transform: translateY(-1px);
}

.cofounder-native-days > button:disabled {
  color: #b5bfba;
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.cofounder-native-days > button.is-selected {
  color: #fff;
  background: #246bfe;
  border-color: #246bfe;
  box-shadow: 0 8px 18px -10px rgba(36, 107, 254, 0.9);
}

.cofounder-native-days > button i {
  width: 4px;
  height: 4px;
  position: absolute;
  right: 50%;
  bottom: 4px;
  transform: translateX(50%);
  background: #246bfe;
  border-radius: 50%;
}

.cofounder-native-days > button.is-selected i {
  background: #d9e4ff;
}

.cofounder-native-slots {
  margin: 18px 10px 0;
  padding-top: 14px;
  border-top: 1px solid #e8efec;
}

.cofounder-native-slots > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cofounder-native-slots > div:first-child span {
  color: #246bfe;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cofounder-native-slots > div:first-child strong {
  color: #354a40;
  font-size: 11.5px;
}

.cofounder-native-slot-grid {
  max-height: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  overflow-y: auto;
  padding: 1px 2px 3px;
  scrollbar-width: thin;
}

.cofounder-native-slot-grid button {
  min-height: 38px;
  color: #1754d1;
  background: #fff;
  border: 1px solid #b8c9ee;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.cofounder-native-slot-grid button:hover,
.cofounder-native-slot-grid button.is-selected {
  color: #fff;
  background: #246bfe;
  border-color: #246bfe;
}

.cofounder-native-book-button {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  color: #08162f;
  background: linear-gradient(135deg, #c9f95f, #b4ea43);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 12px 25px -16px rgba(107, 151, 18, 0.78);
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 850;
}

.cofounder-native-book-button:disabled {
  color: #7e9289;
  background: #e5eeea;
  box-shadow: none;
  cursor: default;
}

.cofounder-native-booking-error {
  margin: 8px 0 0;
  padding: 8px 10px;
  color: #9a3e35;
  background: #fff2f0;
  border: 1px solid #f3d4cf;
  border-radius: 8px;
  font-size: 10.5px;
  line-height: 1.4;
}

.cofounder-native-empty {
  margin: 26px 10px 0;
  padding: 18px;
  color: #687a72;
  background: #f6faf8;
  border: 1px solid #e5efea;
  border-radius: 12px;
  text-align: center;
  font-size: 12px;
}

.cofounder-booking-confirmation {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 34px;
  text-align: center;
}

.cofounder-booking-confirmation-check {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #08162f;
  background: linear-gradient(135deg, #c9f95f, #aadb39);
  border-radius: 50%;
  box-shadow: 0 18px 36px -18px rgba(107, 151, 18, 0.8);
  font-size: 27px;
  font-weight: 900;
}

.cofounder-booking-confirmation h3 {
  margin: 4px 0 10px;
  color: #0a1630;
  font-family: 'Rubik', 'Karla', ui-sans-serif, system-ui, sans-serif;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.cofounder-booking-confirmation p {
  max-width: 40ch;
  margin: 0;
  color: #65776e;
  font-size: 13px;
  line-height: 1.55;
}

.cofounder-booking-confirmation .cofounder-booking-confirmation-time {
  margin-bottom: 16px;
  color: #1754d1;
  font-size: 16px;
  font-weight: 800;
}

.cofounder-booking-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}

.cofounder-booking-confirmation-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  background: #246bfe;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.cofounder-booking-confirmation .cofounder-booking-policy {
  margin-top: 14px;
  color: #87958f;
  font-size: 11px;
}

@keyframes cofounder-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .cofounder-modal {
    padding: 14px;
  }

  .cofounder-modal-dialog {
    grid-template-columns: minmax(330px, 0.46fr) minmax(420px, 0.54fr);
    max-height: calc(100vh - 28px);
  }

  .cofounder-booking-intro {
    padding-right: 26px;
    padding-left: 26px;
  }

  .cofounder-booking-calendar {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 800px) {
  .cofounder-modal {
    padding: 0;
  }

  .cofounder-modal-dialog {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
  }

  .cofounder-booking-intro {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #dfe8e4;
  }

  .cofounder-booking-calendar {
    min-height: 670px;
  }
}

@media (max-width: 560px) {
  .cofounder-modal-close {
    top: 9px;
    right: 10px;
  }

  .cofounder-booking-progress {
    min-height: 58px;
    justify-content: flex-start;
    gap: 16px;
    padding: 13px 54px 13px 18px;
    font-size: 11px;
  }

  .cofounder-booking-intro {
    padding: 26px 20px 28px;
  }

  .cofounder-booking-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .cofounder-booking-brand > span {
    padding: 0;
    border: 0;
  }

  .cofounder-form-page {
    grid-template-columns: 1fr;
  }

  .cofounder-form-page label,
  .cofounder-form-field {
    grid-column: 1 / -1;
  }

  .cofounder-qualification-form input,
  .cofounder-qualification-form select {
    min-height: 50px;
    font-size: 16px;
  }

  .cofounder-phone-control {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
    min-height: 50px;
  }

  .cofounder-phone-control select,
  .cofounder-phone-control input {
    min-height: 48px;
  }

  .cofounder-booking-calendar {
    padding: 22px 13px 16px;
  }

  .cofounder-booking-calendar-head {
    padding-right: 2px;
    padding-left: 2px;
  }

  .cofounder-booking-secure {
    padding: 6px 8px;
    font-size: 9.5px;
  }

  .cofounder-calendar-preview {
    padding-right: 3px;
    padding-left: 3px;
  }

  .cofounder-calendar-weekdays,
  .cofounder-calendar-days,
  .cofounder-native-weekdays,
  .cofounder-native-days {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
  }

  .cofounder-calendar-day,
  .cofounder-native-days > span,
  .cofounder-native-days > button {
    width: 34px;
    height: 34px;
  }

  .cofounder-calendar-lock-message {
    min-height: 84px;
    padding: 18px;
    font-size: 13.5px;
  }

  .cofounder-native-timezone select {
    min-height: 40px;
    font-size: 16px;
  }

  .cofounder-native-month-head {
    grid-template-columns: 44px 1fr 44px;
  }

  .cofounder-native-month-head button {
    width: 44px;
    height: 44px;
  }

  .cofounder-native-slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cofounder-modal,
  .cofounder-modal-dialog,
  .cofounder-form-page-indicator > i > b {
    transition: none;
  }
}

/* The shared Patientdesk modal reveals one task at a time; inline offers retain their layout. */
[data-booking-ui="standard"] {
  padding: 24px;
  color: #15243f;
  font-family: 'Karla', ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}

[data-booking-ui="standard"] .cofounder-modal-backdrop {
  background: rgba(8, 17, 38, 0.72);
  backdrop-filter: blur(6px);
}

[data-booking-ui="standard"] .cofounder-modal-dialog {
  width: min(900px, 100%);
  height: auto;
  max-height: calc(100dvh - 48px);
  padding: 0;
  grid-template-columns: 236px minmax(0, 1fr);
  color: #15243f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 24px 80px -24px rgba(0, 0, 0, 0.5);
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

[data-booking-ui="standard"] .cofounder-modal-close {
  width: 36px;
  height: 36px;
  top: 16px;
  right: 16px;
  color: #526078;
  background: #f4f6fa;
  border-color: transparent;
}

[data-booking-ui="standard"] :is(button, input, select, a, [tabindex]):focus-visible {
  outline: 2px solid #285ce3;
  outline-offset: 3px;
}

[data-booking-ui="standard"] .cofounder-booking-intro {
  min-height: 0;
  gap: 24px;
  padding: 32px 24px;
  color: #fff;
  background: radial-gradient(ellipse at 0 100%, #173d69, transparent 75%), #101e38;
  border: 0;
}

[data-booking-ui="standard"] .cofounder-booking-brand {
  min-height: 28px;
}

[data-booking-ui="standard"] .cofounder-booking-brand img {
  width: 146px;
  filter: brightness(0) invert(1);
}

[data-booking-ui="standard"] .cofounder-booking-copy h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

[data-booking-ui="standard"] .cofounder-booking-duration {
  margin: 0 0 14px;
  padding: 5px 9px;
  color: #c4ebff;
  background: rgba(116, 199, 255, 0.08);
  border-color: rgba(158, 213, 255, 0.2);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

[data-booking-ui="standard"] .cofounder-booking-copy p {
  color: #b9c7dc;
  font-size: 14px;
}

[data-booking-ui="standard"] .cofounder-booking-points {
  gap: 18px;
  color: #e0e8f6;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

[data-booking-ui="standard"] .cofounder-booking-points li span {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #aadaff;
  background: transparent;
  border: 1px solid #415675;
  font-weight: 600;
}

[data-booking-ui="standard"] .cofounder-booking-workspace {
  min-width: 0;
  padding: 0 32px 32px;
}

[data-booking-ui="standard"] .cofounder-booking-progress {
  min-height: 72px;
  justify-content: flex-start;
  gap: 24px;
  padding: 18px 30px 18px 0;
  color: #68758a;
  border-bottom-color: #e8edf5;
  font-size: 13px;
  font-weight: 600;
}

[data-booking-ui="standard"] .cofounder-booking-progress i {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: #65718a;
  background: #f1f4f9;
  border: 1px solid #dce3ef;
  box-shadow: none;
  font-style: normal;
  font-size: 12px;
}

[data-booking-ui="standard"] .cofounder-booking-progress .is-active {
  color: #1747b5;
}

[data-booking-ui="standard"] .cofounder-booking-progress .is-active i {
  color: #fff;
  background: #285ce3;
  border-color: #285ce3;
}

[data-booking-ui="standard"] .cofounder-booking-progress .is-complete i {
  color: #1747b5;
  background: #eaf0ff;
  border-color: #baccf7;
}

[data-booking-ui="standard"] .cofounder-booking-details {
  max-width: 520px;
  margin-inline: auto;
  padding-top: 28px;
}

[data-booking-ui="standard"] .cofounder-booking-form-head {
  margin-bottom: 24px;
}

[data-booking-ui="standard"] :is(.cofounder-booking-form-head, .cofounder-booking-calendar-head) h3 {
  margin: 0;
  color: #15243f;
  font-family: 'Rubik', 'Karla', ui-sans-serif, system-ui, sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

[data-booking-ui="standard"] .cofounder-booking-form-head p {
  max-width: 48ch;
  margin: 8px 0 0;
  color: #617087;
  font-size: 15px;
  line-height: 1.5;
}

[data-booking-ui="standard"] .cofounder-qualification-form {
  gap: 20px;
  margin: 0;
}

[data-booking-ui="standard"] .cofounder-form-page-indicator {
  color: #617087;
  font-size: 12px;
  font-weight: 600;
}

[data-booking-ui="standard"] .cofounder-form-page-indicator > i {
  max-width: 100px;
  background: #e8edf5;
}

[data-booking-ui="standard"] .cofounder-form-page {
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

[data-booking-ui="standard"] .cofounder-form-page label > span,
[data-booking-ui="standard"] .cofounder-form-field > span {
  color: #34435c;
  font-size: 13px;
  font-weight: 600;
}

[data-booking-ui="standard"] .cofounder-qualification-form :is(input, select) {
  min-width: 0;
  min-height: 46px;
  color: #15243f;
  background: #fff;
  border-color: #ccd5e3;
  border-radius: 8px;
  font-size: 16px;
}

[data-booking-ui="standard"] .cofounder-qualification-form input::placeholder {
  color: #748096;
}

[data-booking-ui="standard"] .cofounder-phone-control {
  grid-template-columns: minmax(130px, 0.65fr) minmax(0, 1fr);
  gap: 10px;
  overflow: visible;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

[data-booking-ui="standard"] .cofounder-phone-control :is(input, select) {
  border: 1px solid #ccd5e3;
}

[data-booking-ui="standard"] .cofounder-qualification-form [aria-invalid="true"] {
  border-color: #b63737;
}

[data-booking-ui="standard"] :is(.cofounder-booking-consent, .cofounder-form-message, .cofounder-native-booking-error) {
  font-size: 13px;
  line-height: 1.5;
}

[data-booking-ui="standard"] .cofounder-booking-consent {
  color: #617087;
}

[data-booking-ui="standard"] .cofounder-form-actions button,
[data-booking-ui="standard"] .cofounder-native-book-button {
  min-height: 46px;
  color: #fff;
  background: #285ce3;
  border-radius: 8px;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
}

[data-booking-ui="standard"] .cofounder-form-actions button.is-secondary {
  color: #34435c;
  background: #fff;
  border-color: #ccd5e3;
}

[data-booking-ui="standard"] .cofounder-form-actions button:disabled,
[data-booking-ui="standard"] .cofounder-native-book-button:disabled {
  color: #66738a;
  background: #e9edf4;
}

[data-booking-ui="standard"] .cofounder-booking-calendar {
  min-height: 0;
  padding: 24px 0 0;
}

[data-booking-ui="standard"] .cofounder-booking-calendar-head {
  min-height: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 0 0 18px;
  border: 0;
}

[data-booking-ui="standard"] .cofounder-booking-step {
  color: #4e6387;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

[data-booking-ui="standard"] .cofounder-booking-secure {
  padding: 5px 8px;
  color: #315e56;
  font-size: 11px;
  font-weight: 600;
}

[data-booking-ui="standard"] .cofounder-calendar-frame {
  min-height: 0;
  overflow: visible;
  border-radius: 0;
}

[data-booking-ui="standard"] .cofounder-native-calendar {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  grid-template-rows: auto auto auto 1fr;
  column-gap: 20px;
  padding: 0;
}

[data-booking-ui="standard"] .cofounder-native-timezone {
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 10px 12px;
  color: #526078;
  background: #f5f7fb;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  font-size: 13px;
}

[data-booking-ui="standard"] .cofounder-native-timezone select {
  min-height: 40px;
  color: #263b60;
  background: #fff;
  border-color: #ccd5e3;
  font-size: 16px;
  font-weight: 400;
}

[data-booking-ui="standard"] .cofounder-native-month-head {
  grid-column: 1;
  grid-template-columns: 40px 1fr 40px;
  min-height: 44px;
  padding: 0;
}

[data-booking-ui="standard"] .cofounder-native-month-head button {
  width: 40px;
  height: 40px;
  font-size: 24px;
}

[data-booking-ui="standard"] .cofounder-native-month-head strong {
  font-size: 16px;
  font-weight: 700;
}

[data-booking-ui="standard"] :is(.cofounder-native-weekdays, .cofounder-native-days) {
  grid-column: 1;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin: 12px 0 0;
  color: #637089;
  font-size: 10px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

[data-booking-ui="standard"] .cofounder-native-days {
  align-content: start;
  margin-top: 8px;
}

[data-booking-ui="standard"] .cofounder-native-days > :is(button, span) {
  width: 100%;
  height: 38px;
}

[data-booking-ui="standard"] .cofounder-native-days > button {
  color: #2854b7;
  background: #eff3ff;
  border-color: transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
}

[data-booking-ui="standard"] .cofounder-native-days > button:disabled {
  color: #8b95a7;
  background: transparent;
}

[data-booking-ui="standard"] .cofounder-native-days > button.is-selected {
  color: #fff;
  background: #285ce3;
  box-shadow: none;
}

[data-booking-ui="standard"] .cofounder-native-slots {
  grid-column: 2;
  grid-row: 2 / 5;
  margin: 0;
  padding: 0 0 0 20px;
  border-top: 0;
  border-left: 1px solid #e4e9f2;
}

[data-booking-ui="standard"] .cofounder-native-slots > div:first-child {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 14px;
}

[data-booking-ui="standard"] .cofounder-native-slots > div:first-child span {
  color: #526078;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

[data-booking-ui="standard"] .cofounder-native-slots > div:first-child strong {
  color: #263b60;
  font-size: 14px;
}

[data-booking-ui="standard"] .cofounder-native-slot-grid {
  max-height: 208px;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 3px;
  overscroll-behavior: contain;
}

[data-booking-ui="standard"] .cofounder-native-slot-grid button {
  min-height: 40px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
}

[data-booking-ui="standard"] .cofounder-native-empty {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  color: #526078;
  background: #f5f7fb;
  border-color: #e4e9f2;
  font-size: 14px;
}

[data-booking-ui="standard"] :is(.cofounder-calendar-loading, .cofounder-booking-confirmation) {
  min-height: 300px;
  padding: 28px 12px;
  color: #526078;
}

[data-booking-ui="standard"] .cofounder-calendar-load-error {
  width: 100%;
  min-height: 240px;
  position: static;
  transform: none;
  padding: 24px;
  box-shadow: none;
  font-size: 15px;
}

[data-booking-ui="standard"] .cofounder-calendar-load-error button {
  min-height: 44px;
}

[data-booking-ui="standard"] .cofounder-booking-confirmation-check {
  width: 52px;
  height: 52px;
  color: #285ce3;
  background: #eaf0ff;
  box-shadow: none;
}

[data-booking-ui="standard"] .cofounder-booking-confirmation h3 {
  font-size: 26px;
  font-weight: 500;
}

[data-booking-ui="standard"] .cofounder-booking-confirmation p {
  color: #526078;
  font-size: 15px;
  overflow-wrap: anywhere;
}

[data-booking-ui="standard"] .cofounder-booking-confirmation-actions a {
  min-height: 44px;
  font-size: 14px;
}

[data-booking-ui="standard"] .cofounder-booking-confirmation .cofounder-booking-policy {
  color: #617087;
  font-size: 12px;
}

[data-booking-ui="standard"] [hidden] {
  display: none;
}

@media (max-width: 760px) {
  [data-booking-ui="standard"] {
    padding: 12px;
  }

  [data-booking-ui="standard"] .cofounder-modal-dialog {
    max-height: calc(100dvh - 24px);
    grid-template-columns: minmax(0, 1fr);
    border-radius: 16px;
  }

  [data-booking-ui="standard"] .cofounder-booking-intro {
    gap: 14px;
    padding: 20px 24px;
  }

  [data-booking-ui="standard"] .cofounder-booking-brand {
    flex-direction: row;
  }

  [data-booking-ui="standard"] .cofounder-booking-copy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  [data-booking-ui="standard"] .cofounder-booking-copy h2 {
    max-width: none;
    margin: 0;
    font-size: 20px;
  }

  [data-booking-ui="standard"] .cofounder-booking-duration {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
  }

  [data-booking-ui="standard"] .cofounder-booking-copy p,
  [data-booking-ui="standard"] .cofounder-booking-points {
    display: none;
  }

  [data-booking-ui="standard"] .cofounder-modal-close {
    top: 12px;
    right: 12px;
    color: #fff;
    background: #273b5b;
  }

  [data-booking-ui="standard"] .cofounder-modal-close:focus-visible {
    outline-color: #aadaff;
  }
}

@media (max-width: 560px) {
  [data-booking-ui="standard"] .cofounder-booking-workspace {
    padding: 0 20px 24px;
  }

  [data-booking-ui="standard"] .cofounder-booking-progress {
    min-height: 62px;
    gap: 18px;
    padding: 16px 0;
    font-size: 12px;
  }

  [data-booking-ui="standard"] .cofounder-booking-progress span {
    gap: 6px;
  }

  [data-booking-ui="standard"] .cofounder-booking-details {
    padding-top: 22px;
  }

  [data-booking-ui="standard"] .cofounder-form-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  [data-booking-ui="standard"] .cofounder-native-calendar {
    display: block;
  }

  [data-booking-ui="standard"] .cofounder-native-timezone select {
    flex-basis: 100%;
  }

  [data-booking-ui="standard"] .cofounder-native-slots {
    margin-top: 20px;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid #e4e9f2;
  }

  [data-booking-ui="standard"] .cofounder-native-slot-grid {
    max-height: 144px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-booking-ui="standard"] .cofounder-native-slot-grid button {
    min-height: 44px;
  }
}

@media (max-width: 380px) {
  [data-booking-ui="standard"] .cofounder-phone-control {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-booking-ui="standard"] *,
  [data-booking-ui="standard"] {
    animation: none;
    transition: none;
    scroll-behavior: auto;
  }
}

/* Inline and modal surfaces share the same card; only viewport positioning differs. */
[data-booking-ui="standard"].pd-booking-inline { width: 100%; padding: 0; margin: 32px auto 0; scroll-margin-top: 100px; container-type: inline-size; }
[data-booking-ui="standard"].pd-booking-inline > .cofounder-modal-dialog { max-height: none; margin: 0 auto; opacity: 1; transform: none; overflow: hidden; border-color: #dce3ef; box-shadow: 0 12px 40px #15243f12; }
[data-booking-ui="standard"] [hidden] { display: none !important; }
[data-booking-ui="standard"] .cofounder-booking-workspace { background: #fff; }
[data-booking-ui="standard"] .cofounder-booking-duration { display: inline-flex; }
@container (max-width: 720px) {
  [data-booking-ui="standard"] > .cofounder-modal-dialog { grid-template-columns: minmax(0, 1fr); }
  [data-booking-ui="standard"] .cofounder-booking-intro { padding: 24px; gap: 14px; }
  [data-booking-ui="standard"] .cofounder-booking-points { display: none; }
  [data-booking-ui="standard"] .cofounder-booking-copy h2 { max-width: none; margin: 0 0 12px; }
  [data-booking-ui="standard"] .cofounder-booking-workspace { padding: 0 24px 24px; }
  [data-booking-ui="standard"] .cofounder-native-calendar { grid-template-columns: minmax(0, 1fr); }
  [data-booking-ui="standard"] .cofounder-native-slots { grid-column: 1; grid-row: auto; padding: 20px 0 0; border-left: 0; }
  [data-booking-ui="standard"] .cofounder-native-slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
