.ffcdc-shortcode-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}

.ffcdc-wrap [hidden] {
  display: none !important;
}

:root {
  --ffcdc-navy: #0f2747;
  --ffcdc-blue: #1d4ed8;
  --ffcdc-green: #2f855a;
  --ffcdc-green-bg: #edf9f0;
  --ffcdc-red: #c53030;
  --ffcdc-red-bg: #fff1f2;
  --ffcdc-red-border: #fecdd3;
  --ffcdc-light: #f8fafc;
  --ffcdc-border: #dbe4ee;
  --ffcdc-text: #1f2937;
  --ffcdc-muted: #6b7280;
  --ffcdc-past: #98a2b3;
}

.ffcdc-wrap {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border: 1px solid var(--ffcdc-border);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 39, 71, 0.08);
  padding: 22px;
  max-width: 1000px;
}

.ffcdc-header {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 18px;
  padding: 12px 10px 4px;
  border-radius: 22px;
}

.ffcdc-header-watermark {
  position: absolute;
  right: -110px;
  top: -105px;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
  filter: saturate(0.9);
}

.ffcdc-header-watermark.has-image {
  opacity: 0.055;
}

.ffcdc-header-watermark-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  clip-path: inset(21% 21% 21% 21% round 50%);
  transform: scale(1.34);
  border-radius: 0;
}

.ffcdc-header-watermark-fallback {
  color: var(--ffcdc-navy);
  font-size: 5.6rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ffcdc-branding {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ffcdc-logo-shell {
  width: 88px;
  height: 88px;
  min-width: 88px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ffcdc-navy), #163866);
  box-shadow: 0 14px 30px rgba(15, 39, 71, 0.18);
  border: 4px solid #fff;
}

.ffcdc-logo-shell.has-image {
  background: #fff;
}

.ffcdc-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.ffcdc-logo-fallback {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ffcdc-heading-copy {
  min-width: 0;
}

.ffcdc-brand-text {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--ffcdc-blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ffcdc-title {
  margin: 0 0 8px;
  color: var(--ffcdc-navy);
  font-size: 1.55rem;
  line-height: 1.2;
}

.ffcdc-intro {
  margin: 0;
  color: var(--ffcdc-muted);
  font-size: 0.98rem;
}

.ffcdc-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 14px;
}

.ffcdc-type-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ffcdc-type-btn,
.ffcdc-book-btn,
.ffcdc-subscribe-btn,
.ffcdc-download-btn,
.ffcdc-month-btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ffcdc-type-btn {
  background: #eef2f7;
  color: var(--ffcdc-navy);
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(15, 39, 71, 0.08);
}

.ffcdc-type-btn.is-active {
  background: var(--ffcdc-navy);
  color: #fff;
}

.ffcdc-select-wrap {
  display: grid;
  gap: 8px;
}

.ffcdc-label {
  color: var(--ffcdc-navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.ffcdc-select {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid var(--ffcdc-border);
  background: #fff;
  padding: 0 14px;
  color: var(--ffcdc-text);
  font-size: 1rem;
}

.ffcdc-status {
  min-height: 22px;
  color: var(--ffcdc-muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.ffcdc-product-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 16px 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--ffcdc-light);
  border: 1px solid var(--ffcdc-border);
}

.ffcdc-product-main {
  min-width: 0;
}

.ffcdc-product-kicker {
  color: var(--ffcdc-blue);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.ffcdc-product-title {
  margin: 0;
  color: var(--ffcdc-navy);
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  line-height: 1.32;
  max-width: 100%;
  text-wrap: balance;
}

.ffcdc-product-subtitle {
  margin-top: 8px;
  color: var(--ffcdc-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.ffcdc-action-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  align-items: stretch;
}

.ffcdc-book-btn,
.ffcdc-subscribe-btn,
.ffcdc-download-btn {
  min-height: 54px;
  padding: 12px 16px;
  font-weight: 700;
  white-space: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.22;
  font-size: 0.98rem;
}

.ffcdc-subscribe-btn {
  grid-column: 1 / -1;
}

.ffcdc-book-btn {
  background: var(--ffcdc-blue);
  color: #fff;
}

.ffcdc-subscribe-btn {
  background: var(--ffcdc-navy);
  color: #fff;
}

.ffcdc-download-btn {
  background: #eef2f7;
  color: var(--ffcdc-navy);
  box-shadow: inset 0 0 0 1px rgba(15, 39, 71, 0.08);
}


@media (min-width: 783px) {
  .ffcdc-product-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .ffcdc-action-buttons {
    max-width: 760px;
  }
}

.ffcdc-calendar-shell {
  border: 1px solid var(--ffcdc-border);
  background: #fff;
  border-radius: 22px;
  padding: 18px;
}

.ffcdc-calendar-nav {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ffcdc-month-btn {
  width: 48px;
  height: 48px;
  background: #eef2f7;
  color: var(--ffcdc-navy);
  font-size: 1.4rem;
  font-weight: 700;
}

.ffcdc-month-btn[disabled] {
  opacity: 0.45;
  cursor: default;
}

.ffcdc-month-label {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ffcdc-navy);
}

.ffcdc-weekdays,
.ffcdc-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.ffcdc-weekdays {
  margin-bottom: 8px;
}

.ffcdc-weekdays span {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ffcdc-muted);
}

.ffcdc-day {
  min-height: 88px;
  border: 1px solid var(--ffcdc-border);
  border-radius: 16px;
  background: #fff;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.ffcdc-day.is-empty {
  background: #fafbfd;
}

.ffcdc-day-number {
  font-weight: 800;
  color: var(--ffcdc-text);
  line-height: 1;
}

.ffcdc-day-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 12px;
  background: transparent;
}

.ffcdc-day-note {
  margin-top: 10px;
  display: inline-block;
  background: var(--ffcdc-red);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 800;
  padding: 7px 8px;
  border-radius: 999px;
  text-align: center;
}

.ffcdc-day.is-date {
  border-color: #b8d2c0;
  background: var(--ffcdc-green-bg);
}

.ffcdc-day.is-date .ffcdc-day-dot {
  background: var(--ffcdc-green);
}

.ffcdc-day.is-off {
  border-color: var(--ffcdc-red-border);
  background: var(--ffcdc-red-bg);
}

.ffcdc-day.is-past .ffcdc-day-number {
  color: var(--ffcdc-past);
}

.ffcdc-day.is-today {
  box-shadow: inset 0 0 0 2px var(--ffcdc-blue);
}

.ffcdc-dates-panel {
  margin-top: 16px;
  padding: 16px;
  background: var(--ffcdc-light);
  border-radius: 18px;
  border: 1px solid var(--ffcdc-border);
}

.ffcdc-dates-heading {
  margin: 0 0 10px;
  color: var(--ffcdc-navy);
  font-size: 1.05rem;
}

.ffcdc-dates-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ffcdc-date-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--ffcdc-border);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--ffcdc-text);
  font-weight: 600;
}

.ffcdc-date-item.is-off {
  border-color: var(--ffcdc-red-border);
  background: var(--ffcdc-red-bg);
}

.ffcdc-date-item.is-past {
  opacity: 0.7;
}

.ffcdc-date-text {
  display: inline-block;
}

.ffcdc-date-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ffcdc-red);
  color: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.ffcdc-notice {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

@media (max-width: 782px) {
  .ffcdc-branding {
    align-items: flex-start;
  }

  .ffcdc-logo-shell {
    width: 72px;
    height: 72px;
    min-width: 72px;
  }

  .ffcdc-wrap {
    padding: 16px;
    border-radius: 20px;
  }

  .ffcdc-product-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 16px 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--ffcdc-light);
  border: 1px solid var(--ffcdc-border);
}

.ffcdc-product-main {
  min-width: 0;
}

.ffcdc-product-kicker {
  color: var(--ffcdc-blue);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.ffcdc-product-title {
  margin: 0;
  color: var(--ffcdc-navy);
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  line-height: 1.32;
  max-width: 100%;
  text-wrap: balance;
}

.ffcdc-product-subtitle {
  margin-top: 8px;
  color: var(--ffcdc-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.ffcdc-action-buttons {
    width: 100%;
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .ffcdc-subscribe-btn {
    grid-column: auto;
  }

  .ffcdc-book-btn,
  .ffcdc-subscribe-btn,
  .ffcdc-download-btn {
    width: 100%;
    text-align: center;
  }

  
@media (min-width: 783px) {
  .ffcdc-product-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .ffcdc-action-buttons {
    max-width: 760px;
  }
}

.ffcdc-calendar-shell {
    padding: 14px;
  }

  .ffcdc-weekdays,
  .ffcdc-calendar-grid {
    gap: 6px;
  }

  .ffcdc-day {
    min-height: 72px;
    padding: 8px 5px;
  }

  .ffcdc-day-note {
    font-size: 0.62rem;
    padding: 6px 6px;
  }

  .ffcdc-date-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .ffcdc-header {
    padding: 6px 0 0;
  }

  .ffcdc-header-watermark {
    display: none;
  }
}


.ffcdc-next-session {
  margin-top: 8px;
  color: var(--ffcdc-blue);
  font-size: 0.95rem;
  font-weight: 700;
}

.ffcdc-next-session strong {
  color: var(--ffcdc-navy);
}

.ffcdc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid var(--ffcdc-border);
  border-radius: 16px;
  background: #fff;
}

.ffcdc-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ffcdc-navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.ffcdc-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid var(--ffcdc-border);
}

.ffcdc-legend-swatch.is-run {
  background: var(--ffcdc-green);
  border-color: var(--ffcdc-green);
}

.ffcdc-legend-swatch.is-off {
  background: var(--ffcdc-red-bg);
  border-color: var(--ffcdc-red-border);
}

@media (max-width: 640px) {
  .ffcdc-legend {
    gap: 10px;
    padding: 10px 12px;
  }
}
