.pillar-onboarding__shell[hidden] {
  display: none !important;
}

.pillar-onboarding__shell {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 15, 18, 0.45);
}

@media (min-width: 640px) {
  .pillar-onboarding__shell {
    align-items: center;
  }
}

.pillar-onboarding__dialog {
  width: 100%;
  max-width: min(520px, 96vw);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px 20px;
  box-shadow: 0 24px 48px rgba(32, 35, 40, 0.16);
}

.pillar-onboarding__progress {
  height: 4px;
  background: #e4e4e7;
  border-radius: 999px;
  margin-bottom: 16px;
  overflow: hidden;
}

.pillar-onboarding__progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #9f51ce, #fc899a);
  transition: width 0.25s ease;
}

.pillar-onboarding__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #71717a;
}

.pillar-onboarding__question {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: #18181b;
}

.pillar-onboarding__sub {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #52525b;
}

.pillar-onboarding__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-onboarding__opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #18181b;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pillar-onboarding__opt:hover {
  background: #f4f4f5;
  border-color: #d4d4d8;
}

.pillar-onboarding__opt:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pillar-onboarding__footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e4e4e7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pillar-onboarding__back {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #71717a;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pillar-onboarding__back:hover {
  color: #18181b;
}

.pillar-onboarding__close {
  margin-left: auto;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #18181b;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  cursor: pointer;
}

.pillar-onboarding__close:hover {
  background: #f4f4f5;
  border-color: #d4d4d8;
}

.pillar-onboarding__opt:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pillar-onboarding__wait {
  margin: 0;
  padding: 20px 8px;
  text-align: center;
  font-size: 0.9375rem;
  color: #71717a;
}

.pillar-booking__shell.pillar-booking__shell--preloading {
  z-index: 99997;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.pillar-booking__dialog {
  width: 100%;
  max-width: min(960px, 98vw);
  max-height: min(96vh, 900px);
  display: flex;
  flex-direction: column;
}

.pillar-booking__hint {
  margin: 0 0 12px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #52525b;
}

.pillar-booking__frame {
  flex: 1;
  min-height: min(560px, 62vh);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e4e4e7;
  background: #fafafa;
}

.pillar-booking__iframe {
  display: block;
  width: 100%;
  height: min(720px, 75vh);
  min-height: 480px;
  border: 0;
}

/* TEMP: solo con pillar-lead-dev-fill.js (localhost o ?devfill=1) */
.pillar-dev-fill {
  position: fixed;
  left: max(12px, env(safe-area-inset-left, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 100000;
}

.pillar-dev-fill__btn {
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #713f12;
  background: #fef08a;
  border: 1px solid #ca8a04;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.pillar-dev-fill__btn:hover {
  background: #fde047;
}
