/* Event Pros LA — Event brief liquid glass */

:root {
  --epla-eb-canvas: #0d1422;
  --epla-eb-canvas-light: #eef2f8;
  --epla-eb-text: #f1f5fc;
  --epla-eb-text-secondary: #b9c6db;
  --epla-eb-frame: rgba(24, 35, 55, 0.94);
  --epla-eb-frame-fallback: #182337;
  --epla-eb-surface: rgba(255, 255, 255, 0.97);
  --epla-eb-surface-dark: rgba(22, 30, 48, 0.98);
  --epla-eb-input: rgba(255, 255, 255, 0.06);
  --epla-eb-input-border: rgba(255, 255, 255, 0.14);
  --epla-eb-accent: #f48429;
  --epla-eb-accent-2: #ec489a;
  --epla-eb-cyan: #00adee;
  --epla-eb-shadow: 0 20px 60px rgba(20, 35, 70, 0.28);
  --epla-eb-radius-frame: 28px;
  --epla-eb-radius-q: 20px;
  --epla-eb-radius-ctrl: 14px;
  --epla-eb-blur: 22px;
  --epla-eb-answer: rgba(244, 132, 41, 0.14);
  --epla-eb-focus: #00adee;
}

.epla-eb-page {
  position: relative;
  min-height: 100svh;
  background: var(--epla-eb-canvas);
  color: var(--epla-eb-text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  overflow-x: hidden;
}

.epla-eb-page__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 40% at 12% 18%, rgba(244, 132, 41, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 45% at 88% 12%, rgba(236, 72, 154, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 35% at 70% 78%, rgba(0, 173, 238, 0.1), transparent 50%);
}

.epla-eb-page > *:not(.epla-eb-page__glow) {
  position: relative;
  z-index: 1;
}

.epla-eb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
}

.epla-eb-header a {
  color: var(--epla-eb-text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.epla-eb-header a:hover {
  color: var(--epla-eb-text);
}

.epla-eb-header__logo img {
  height: 32px;
  width: auto;
}

.epla-eb-intro {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1.5rem;
}

.epla-eb-intro__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--epla-eb-text-secondary);
  margin: 0 0 0.75rem;
}

.epla-eb-intro h1 {
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: #fff;
}

.epla-eb-intro p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--epla-eb-text-secondary);
  max-width: 42rem;
}

.epla-eb-intro__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.epla-eb-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--epla-eb-cyan);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
}

.epla-eb-link-btn:hover {
  color: #fff;
}

.epla-eb-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

/* Glass frame */
.epla-eb-frame {
  border-radius: var(--epla-eb-radius-frame);
  background: var(--epla-eb-frame-fallback);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    var(--epla-eb-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  padding: 1.25rem;
}

@supports (backdrop-filter: blur(1px)) {
  .epla-eb-frame:not(.epla-reduce-glass *) {
    background: var(--epla-eb-frame);
    backdrop-filter: blur(var(--epla-eb-blur)) saturate(1.2);
    -webkit-backdrop-filter: blur(var(--epla-eb-blur)) saturate(1.2);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .epla-eb-frame {
    background: var(--epla-eb-frame-fallback) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

.epla-reduce-glass .epla-eb-frame,
.epla-reduce-glass.epla-eb-frame {
  background: var(--epla-eb-frame-fallback) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (min-width: 768px) {
  .epla-eb-frame {
    padding: 1.75rem 2rem;
  }
}

.epla-eb-frame__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.epla-eb-frame__brand img {
  height: 28px;
  width: auto;
}

.epla-eb-frame__brand span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--epla-eb-text-secondary);
  letter-spacing: 0.04em;
}

/* 3-step / 4-step nav */
.epla-eb-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.epla-eb-steps li {
  flex: 1 1 auto;
  min-width: 4.25rem;
}

.epla-eb-steps button {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--epla-eb-text-secondary);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 0.65rem;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.epla-eb-steps button[aria-current="step"] {
  border-color: rgba(244, 132, 41, 0.55);
  background: linear-gradient(135deg, rgba(244, 132, 41, 0.22), rgba(236, 72, 154, 0.18));
  color: #fff;
}

.epla-eb-steps button.is-complete:not([aria-current="step"]) {
  border-color: rgba(0, 173, 238, 0.35);
  color: #fff;
}

.epla-eb-steps button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.epla-eb-steps .material-symbols-outlined {
  font-size: 18px;
}

/* Transcript / answers */
.epla-eb-transcript {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.epla-eb-qa {
  display: grid;
  gap: 0.35rem;
}

.epla-eb-qa__q {
  font-size: 0.8125rem;
  color: var(--epla-eb-text-secondary);
}

.epla-eb-qa__a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--epla-eb-answer);
  border: 1px solid rgba(244, 132, 41, 0.22);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.9375rem;
  color: #fff;
  word-break: break-word;
}

.epla-eb-qa__edit {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--epla-eb-cyan);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.25rem;
}

/* Current prompt */
.epla-eb-prompt {
  background: var(--epla-eb-surface-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--epla-eb-radius-q);
  padding: 1.25rem;
}

.epla-eb-prompt.is-enter {
  animation: eplaEbIn 0.2s ease both;
}

@keyframes eplaEbIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .epla-eb-prompt.is-enter {
    animation: none;
  }
}

.epla-eb-prompt h2 {
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
  color: #fff;
  outline: none;
}

.epla-eb-prompt__helper {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--epla-eb-text-secondary);
}

.epla-eb-error {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: #ffb4ab;
}

.epla-eb-error-summary {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 180, 171, 0.4);
  background: rgba(147, 0, 10, 0.25);
}

.epla-eb-error-summary a {
  color: #ffb4ab;
}

/* Choice cards / chips */
.epla-eb-cards {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .epla-eb-cards--compact {
    grid-template-columns: 1fr 1fr;
  }
}

.epla-eb-cards--tiles {
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .epla-eb-cards--tiles {
    gap: 0.9rem;
  }
}

.epla-eb-card {
  position: relative;
  display: flex;
  gap: 0.85rem;
  align-items: stretch;
  min-height: 48px;
  border-radius: var(--epla-eb-radius-ctrl);
  border: 1px solid var(--epla-eb-input-border);
  background: var(--epla-eb-input);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.12s, background 0.12s, transform 0.15s, box-shadow 0.15s;
}

.epla-eb-card--tile {
  flex-direction: column;
  gap: 0;
  min-height: 0;
  align-items: stretch;
}

.epla-eb-card:has(input:checked),
.epla-eb-card.is-selected {
  border-color: rgba(244, 132, 41, 0.7);
  background: linear-gradient(135deg, rgba(244, 132, 41, 0.18), rgba(236, 72, 154, 0.12));
}

.epla-eb-card--tile:has(input:checked),
.epla-eb-card--tile.is-selected {
  box-shadow: 0 0 0 1px rgba(244, 132, 41, 0.45), 0 12px 28px rgba(244, 132, 41, 0.18);
}

.epla-eb-card:focus-within {
  outline: 2px solid var(--epla-eb-focus);
  outline-offset: 2px;
}

.epla-eb-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.epla-eb-card__media {
  flex: 0 0 72px;
  align-self: stretch;
  min-height: 72px;
  background: #0a0f18;
}

.epla-eb-card--tile .epla-eb-card__media {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.epla-eb-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.epla-eb-card__media--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(244, 132, 41, 0.22), rgba(236, 72, 154, 0.16), rgba(0, 173, 238, 0.12));
}

.epla-eb-card__media--icon .material-symbols-outlined {
  font-size: 40px;
  color: #f48429;
}

.epla-eb-card--tile .epla-eb-card__media--icon .material-symbols-outlined {
  font-size: 48px;
}

.epla-eb-card__body {
  flex: 1;
  padding: 0.85rem 0.75rem 0.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.epla-eb-card--tile .epla-eb-card__body {
  padding: 0.85rem 0.75rem 1rem;
  text-align: center;
  align-items: center;
}

.epla-eb-card__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.epla-eb-card--tile .epla-eb-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  justify-content: center;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .epla-eb-card--tile .epla-eb-card__title {
    font-size: 1.0625rem;
  }

  .epla-eb-card--tile .epla-eb-card__media {
    aspect-ratio: 16 / 11;
  }
}

.epla-eb-card__title .material-symbols-outlined {
  font-size: 20px;
  color: var(--epla-eb-accent);
}

.epla-eb-card__desc {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--epla-eb-text-secondary);
}

.epla-eb-card__check {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-variation-settings: "FILL" 1;
}

.epla-eb-card--tile .epla-eb-card__check {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(10, 14, 22, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 18px;
  color: transparent;
}

.epla-eb-card:has(input:checked) .epla-eb-card__check,
.epla-eb-card.is-selected .epla-eb-card__check {
  color: var(--epla-eb-accent);
}

.epla-eb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.epla-eb-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--epla-eb-input-border);
  background: var(--epla-eb-input);
  color: var(--epla-eb-text);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.epla-eb-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.epla-eb-chip:has(input:checked),
.epla-eb-chip.is-selected {
  border-color: rgba(244, 132, 41, 0.65);
  background: rgba(244, 132, 41, 0.2);
  color: #fff;
}

.epla-eb-chip:has(input:checked)::after,
.epla-eb-chip.is-selected::after {
  content: "check";
  font-family: "Material Symbols Outlined";
  font-size: 18px;
  color: var(--epla-eb-accent);
}

.epla-eb-chip:focus-within {
  outline: 2px solid var(--epla-eb-focus);
  outline-offset: 2px;
}

/* Fields */
.epla-eb-fields {
  display: grid;
  gap: 1rem;
}

.epla-eb-field label,
.epla-eb-field .epla-eb-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--epla-eb-text-secondary);
  margin-bottom: 0.4rem;
}

.epla-eb-field input[type="text"],
.epla-eb-field input[type="email"],
.epla-eb-field input[type="tel"],
.epla-eb-field input[type="date"],
.epla-eb-field input[type="number"],
.epla-eb-field select,
.epla-eb-field textarea {
  width: 100%;
  min-height: 48px;
  border-radius: var(--epla-eb-radius-ctrl);
  border: 1px solid var(--epla-eb-input-border);
  background: rgba(255, 255, 255, 0.97);
  color: #152238;
  font: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  box-sizing: border-box;
}

.epla-eb-field textarea {
  min-height: 120px;
  resize: vertical;
}

.epla-eb-field input:focus,
.epla-eb-field select:focus,
.epla-eb-field textarea:focus {
  outline: 2px solid var(--epla-eb-focus);
  outline-offset: 1px;
}

.epla-eb-field .epla-eb-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--epla-eb-text-secondary);
}

.epla-eb-counter {
  text-align: right;
  font-size: 0.75rem;
  color: var(--epla-eb-text-secondary);
  margin-top: 0.25rem;
}

.epla-eb-counter.is-near {
  color: var(--epla-eb-accent);
}

.epla-eb-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .epla-eb-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Actions */
.epla-eb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  align-items: center;
}

.epla-eb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.epla-eb-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.epla-eb-btn--primary {
  background: linear-gradient(135deg, var(--epla-eb-accent), var(--epla-eb-accent-2));
  color: #fff;
  box-shadow: 0 12px 32px rgba(244, 132, 41, 0.28);
}

.epla-eb-btn--primary:not(:disabled):hover {
  transform: scale(1.02);
  box-shadow: 0 14px 36px rgba(236, 72, 154, 0.35);
}

.epla-eb-btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.epla-eb-btn--ghost {
  background: transparent;
  color: var(--epla-eb-text-secondary);
  border: 1px solid transparent;
}

.epla-eb-btn--ghost:hover {
  color: #fff;
}

.epla-eb-hint-inline {
  width: 100%;
  font-size: 0.8125rem;
  color: var(--epla-eb-text-secondary);
  margin: 0;
}

.epla-eb-direct {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--epla-eb-text-secondary);
  text-align: center;
}

.epla-eb-direct a {
  color: var(--epla-eb-cyan);
}

/* Summary column */
.epla-eb-summary {
  border-radius: var(--epla-eb-radius-frame);
  background: var(--epla-eb-frame-fallback);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  box-shadow: var(--epla-eb-shadow);
}

@supports (backdrop-filter: blur(1px)) {
  .epla-eb-summary {
    background: var(--epla-eb-frame);
    backdrop-filter: blur(var(--epla-eb-blur)) saturate(1.2);
    -webkit-backdrop-filter: blur(var(--epla-eb-blur)) saturate(1.2);
  }
}

.epla-reduce-glass .epla-eb-summary {
  background: var(--epla-eb-frame-fallback) !important;
  backdrop-filter: none !important;
}

.epla-eb-summary h2 {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 1.15rem;
  margin: 0 0 1rem;
  color: #fff;
}

.epla-eb-summary__toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  background: none;
  border: none;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

@media (min-width: 1024px) {
  .epla-eb-summary__toggle {
    pointer-events: none;
  }
  .epla-eb-summary__toggle .material-symbols-outlined {
    display: none;
  }
  .epla-eb-summary__body {
    display: block !important;
  }
}

.epla-eb-summary__group {
  margin-bottom: 1rem;
}

.epla-eb-summary__group h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--epla-eb-text-secondary);
  margin: 0 0 0.5rem;
}

.epla-eb-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
}

.epla-eb-summary__row dt {
  color: var(--epla-eb-text-secondary);
  margin: 0;
}

.epla-eb-summary__row dd {
  margin: 0;
  text-align: right;
  color: #fff;
  word-break: break-word;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  justify-content: flex-end;
}

.epla-eb-summary__empty {
  font-size: 0.875rem;
  color: var(--epla-eb-text-secondary);
  margin: 0;
}

.epla-eb-privacy {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--epla-eb-text-secondary);
  line-height: 1.45;
}

.epla-eb-privacy a {
  color: var(--epla-eb-cyan);
}

.epla-eb-disclaimer {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--epla-eb-text-secondary);
  line-height: 1.45;
}

.epla-eb-review-block {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.epla-eb-review-block__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.epla-eb-review-block h3 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.epla-eb-confirm {
  text-align: center;
  padding: 1rem 0;
}

.epla-eb-confirm h2 {
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.epla-eb-confirm p {
  color: var(--epla-eb-text-secondary);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

.epla-eb-spinner {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: eplaSpin 0.7s linear infinite;
  vertical-align: middle;
}

@keyframes eplaSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .epla-eb-spinner {
    animation: none;
    border-color: #fff;
  }
}

.epla-eb-standard {
  display: none;
}

.epla-eb-root.is-standard .epla-eb-guided {
  display: none;
}

.epla-eb-root.is-standard .epla-eb-standard {
  display: block;
}

.epla-eb-standard .epla-eb-frame {
  max-width: 720px;
}

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

/* FAB — hidden until past first section, then slides in */
.epla-eb-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 56px;
  padding: 0 1.25rem 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(24, 35, 55, 0.92);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(calc(100% + 2.5rem), 1.75rem, 0) scale(0.86);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1.35, 0.36, 1),
    visibility 0.4s,
    box-shadow 0.25s ease;
  will-change: transform, opacity;
}

.epla-eb-fab.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

@supports (backdrop-filter: blur(1px)) {
  .epla-eb-fab {
    backdrop-filter: blur(20px) saturate(1.25);
    -webkit-backdrop-filter: blur(20px) saturate(1.25);
    background: rgba(24, 35, 55, 0.72);
  }
}

.epla-eb-fab.is-visible:hover {
  transform: translate3d(0, 0, 0) scale(1.03);
  box-shadow:
    0 18px 48px rgba(244, 132, 41, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.epla-eb-fab__orb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--epla-eb-accent), var(--epla-eb-accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(244, 132, 41, 0.45);
}

.epla-eb-fab__orb .material-symbols-outlined {
  font-size: 16px;
  color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  .epla-eb-fab.is-visible {
    animation: eplaFabIn 0.7s cubic-bezier(0.22, 1.35, 0.36, 1) both,
      eplaFabFloat 4.5s ease-in-out 0.75s infinite;
  }
  .epla-eb-fab.is-visible .epla-eb-fab__orb {
    animation: eplaFabGlow 3s ease-in-out 0.4s infinite;
  }
}

@keyframes eplaFabIn {
  0% {
    opacity: 0;
    transform: translate3d(calc(100% + 2.5rem), 1.75rem, 0) scale(0.86);
  }
  62% {
    opacity: 1;
    transform: translate3d(-6px, -2px, 0) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes eplaFabFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes eplaFabGlow {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(244, 132, 41, 0.4);
  }
  50% {
    box-shadow: 0 0 22px rgba(236, 72, 154, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .epla-eb-fab {
    transform: none;
    transition: opacity 0.25s ease, visibility 0.25s;
  }
  .epla-eb-fab.is-visible {
    transform: none;
    animation: none;
  }
  .epla-eb-fab__orb {
    animation: none;
  }
}

body.epla-eb-hide-fab .epla-eb-fab,
body.epla-eb-modal-open .epla-eb-fab {
  display: none;
}

/* Modal — desktop overlay / mobile full-screen sheet */
.epla-eb-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  visibility: hidden;
  pointer-events: none;
}

.epla-eb-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.epla-eb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.72);
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.epla-eb-modal.is-open .epla-eb-modal__backdrop {
  opacity: 1;
}

.epla-eb-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  background: var(--epla-eb-canvas);
  box-shadow: none;
  border: none;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-overflow-scrolling: touch;
}

.epla-eb-modal.is-open .epla-eb-modal__panel {
  transform: translateY(0);
}

.epla-eb-modal__chrome {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: max(0.65rem, env(safe-area-inset-top)) 1rem 0.65rem;
  background: rgba(13, 20, 34, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 3;
}

@supports (backdrop-filter: blur(1px)) {
  .epla-eb-modal__chrome {
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    background: rgba(13, 20, 34, 0.78);
  }
}

.epla-eb-modal__handle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.epla-eb-modal__handle-bar {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.epla-eb-modal__title {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.epla-eb-modal__close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.epla-eb-modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.epla-eb-modal__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom);
}

.epla-eb-modal .epla-eb-page {
  min-height: auto;
}

.epla-eb-modal .epla-eb-intro {
  padding: 1rem 1.1rem 0.75rem;
}

.epla-eb-modal .epla-eb-intro h1 {
  font-size: clamp(1.45rem, 6.2vw, 1.85rem);
  margin-bottom: 0.45rem;
}

.epla-eb-modal .epla-eb-intro p {
  font-size: 0.9375rem;
  line-height: 1.45;
}

.epla-eb-modal .epla-eb-layout {
  padding: 0 1.1rem 1.5rem;
  max-width: none;
}

.epla-eb-modal .epla-eb-frame {
  border-radius: 20px;
  padding: 1rem 1rem 1.15rem;
}

.epla-eb-modal .epla-eb-frame__brand {
  display: none;
}

.epla-eb-modal .epla-eb-steps {
  margin-bottom: 1rem;
  gap: 0.4rem;
}

.epla-eb-modal .epla-eb-steps button {
  min-height: 40px;
  font-size: 0.75rem;
  padding: 0 0.65rem;
}

.epla-eb-modal .epla-eb-prompt {
  padding: 1rem;
  border-radius: 16px;
}

.epla-eb-modal .epla-eb-prompt h2 {
  font-size: clamp(1.2rem, 5.5vw, 1.45rem);
}

.epla-eb-modal .epla-eb-card__media {
  flex: 0 0 56px;
  min-height: 56px;
}

.epla-eb-modal .epla-eb-card--tile .epla-eb-card__media {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.epla-eb-modal .epla-eb-actions {
  position: sticky;
  bottom: 0;
  margin: 1rem -0.15rem 0;
  padding: 0.75rem 0.15rem calc(0.35rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(22, 30, 48, 0.96) 28%);
  z-index: 2;
}

.epla-eb-modal .epla-eb-btn {
  flex: 1 1 auto;
}

.epla-eb-modal .epla-eb-btn--primary {
  flex: 1 1 55%;
}

.epla-eb-modal .epla-eb-direct {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
}

/* Desktop modal keeps inset card */
@media (min-width: 768px) {
  .epla-eb-modal {
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
      max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    align-items: center;
  }

  .epla-eb-modal__panel {
    width: min(720px, 100%);
    height: auto;
    max-height: min(92dvh, 900px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(18px) scale(0.98);
    opacity: 0;
    transition:
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease;
  }

  .epla-eb-modal.is-open .epla-eb-modal__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .epla-eb-modal__chrome {
    border-radius: 24px 24px 0 0;
    padding-top: 0.85rem;
  }

  .epla-eb-modal__handle-bar {
    display: none;
  }

  .epla-eb-modal .epla-eb-frame__brand {
    display: flex;
  }

  .epla-eb-modal .epla-eb-intro {
    padding: 1.25rem 1.5rem 1rem;
  }

  .epla-eb-modal .epla-eb-layout {
    padding: 0 1.5rem 2rem;
  }

  .epla-eb-modal .epla-eb-actions {
    position: static;
    background: none;
    margin-top: 1.25rem;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .epla-eb-modal__backdrop,
  .epla-eb-modal__panel {
    transition: none !important;
  }
}

@media (max-width: 420px) {
  .epla-eb-fab__label {
    /* keep label — full pill is the brand cue */
  }

  .epla-eb-modal .epla-eb-cards--compact {
    grid-template-columns: 1fr;
  }

  .epla-eb-modal .epla-eb-cards--tiles {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .epla-eb-modal .epla-eb-card--tile .epla-eb-card__title {
    font-size: 0.875rem;
  }

  .epla-eb-modal .epla-eb-chip {
    min-height: 44px;
    font-size: 0.8125rem;
    padding: 0 0.85rem;
  }
}

/* After advancing a question in the modal, keep prompt in view */
.epla-eb-modal .epla-eb-prompt.is-enter {
  animation: eplaEbIn 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Meet step: calendar + slots */
.epla-eb-meet {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.epla-eb-meet__label {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--epla-eb-text-secondary);
}

.epla-eb-meet-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.epla-eb-meet-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--epla-eb-text);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.epla-eb-meet-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.epla-eb-meet-type.is-selected,
.epla-eb-meet-type:has(input:checked) {
  border-color: rgba(244, 132, 41, 0.55);
  background: linear-gradient(135deg, rgba(244, 132, 41, 0.22), rgba(236, 72, 154, 0.16));
  color: #fff;
}

.epla-eb-cal {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.85rem 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.epla-eb-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.epla-eb-cal__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  color: #fff;
  text-align: center;
  flex: 1;
}

.epla-eb-cal__nav {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.epla-eb-cal__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.epla-eb-cal__nav .material-symbols-outlined {
  font-size: 1.25rem;
}

.epla-eb-cal__dows {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.35rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--epla-eb-text-secondary);
}

.epla-eb-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.epla-eb-cal__day {
  aspect-ratio: 1;
  min-height: 2.5rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--epla-eb-text-secondary);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

button.epla-eb-cal__day {
  cursor: pointer;
}

.epla-eb-cal__day.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.epla-eb-cal__day.is-unavailable {
  opacity: 0.38;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}

.epla-eb-cal__day.is-available {
  border-color: rgba(0, 173, 238, 0.28);
  background: rgba(0, 173, 238, 0.1);
  color: #fff;
}

.epla-eb-cal__day.is-available:hover {
  border-color: rgba(244, 132, 41, 0.5);
  background: rgba(244, 132, 41, 0.16);
}

.epla-eb-cal__day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.epla-eb-cal__day.is-selected {
  border-color: rgba(244, 132, 41, 0.65);
  background: linear-gradient(135deg, rgba(244, 132, 41, 0.35), rgba(236, 72, 154, 0.28));
  color: #fff;
}

.epla-eb-meet-slots__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.epla-eb-meet-slot {
  min-height: 44px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.epla-eb-meet-slot:hover {
  border-color: rgba(0, 173, 238, 0.45);
}

.epla-eb-meet-slot.is-selected {
  border-color: rgba(244, 132, 41, 0.55);
  background: linear-gradient(135deg, rgba(244, 132, 41, 0.22), rgba(236, 72, 154, 0.16));
}

.epla-eb-meet-summary {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 173, 238, 0.28);
  background: rgba(0, 173, 238, 0.08);
  font-size: 0.9375rem;
  color: #fff;
}

.epla-eb-meet__tz,
.epla-eb-meet__status {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--epla-eb-text-secondary);
}

@media (max-width: 480px) {
  .epla-eb-steps {
    gap: 0.35rem;
  }

  .epla-eb-steps li {
    min-width: 0;
    flex: 1 1 22%;
  }

  .epla-eb-steps button {
    min-height: 42px;
    font-size: 0.75rem;
    padding: 0 0.35rem;
    gap: 0.2rem;
  }

  .epla-eb-steps .material-symbols-outlined {
    font-size: 0.95rem;
  }

  .epla-eb-cal__day {
    min-height: 2.25rem;
    font-size: 0.8125rem;
  }
}

/* Forced colors */
@media (forced-colors: active) {
  .epla-eb-frame,
  .epla-eb-summary,
  .epla-eb-card,
  .epla-eb-chip,
  .epla-eb-btn,
  .epla-eb-fab {
    forced-color-adjust: none;
    border: 2px solid ButtonText;
    background: Canvas;
    color: CanvasText;
  }
  .epla-eb-btn--primary {
    background: Highlight;
    color: HighlightText;
  }
}
