/* === LL_FILE_START ===
 * File name: promo-calendar.css
 * Description: Styles for shared promo calendar modal UI.
 */

.ll-promo-wrap {
  padding: 14px;
  overflow: visible;
}

.ll-promo-top {
  padding-right: 190px;
}

.ll-promo-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow: visible;
}

.ll-promo-intro {
  flex: 1 1 auto;
  min-width: 300px;
}

.ll-promo-price {
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.ll-promo-sub {
  margin: 10px 0 12px;
}

.ll-promo-hint {
  font-size: 13px;
  opacity: 0.85;
}

.ll-promo-hint-green {
  margin-bottom: 4px;
  font-weight: 700;
  opacity: 1;
}

.ll-promo-calendars {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 14px;
}

.ll-promo-month {
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.ll-promo-month.is-hidden {
  display: none;
}

.ll-promo-month-title {
  margin-bottom: 8px;
  font-weight: 700;
}

.ll-promo-grid {
  display: grid;
  grid-template-columns: 30px repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.ll-promo-dow {
  font-size: 12px;
  text-align: center;
  opacity: 0.6;
}

.ll-promo-week-dow {
  min-width: 30px;
}

.ll-promo-week-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
}

.ll-promo-week-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.ll-promo-week-toggle:hover,
.ll-promo-week-toggle:focus {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.ll-promo-week-toggle.is-partial {
  border-color: #86efac;
  background: #f0fdf4;
  color: #15803d;
}

.ll-promo-week-toggle.is-complete {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
}

.ll-promo-week-toggle:disabled {
  opacity: .28;
  cursor: not-allowed;
}

.ll-promo-week-toggle-wrap--empty {
  visibility: hidden;
}

.ll-promo-cell {
  position: relative;
  padding: 8px 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.ll-promo-cell input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ll-promo-daynum {
  font-size: 14px;
  font-weight: 600;
}

.ll-promo-cell:hover {
  border-color: #94a3b8;
}

.ll-promo-empty {
  border: none;
  background: transparent;
}

.ll-promo-em {
  font-weight: 800;
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.ll-promo-cell.is-disabled {
  cursor: not-allowed;
}

.ll-promo-cell.is-disabled:not(.is-booked) {
  opacity: 0.35;
  background: #f8fafc;
}

.ll-promo-cell.is-booked {
  cursor: not-allowed;
  opacity: 1;
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.ll-promo-cell.is-booked .ll-promo-daynum {
  color: #fff;
}

.ll-promo-cell.is-checked {
  border-color: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.15);
}

.ll-promo-viewmore-row {
  margin-top: 10px;
}

.ll-promo-viewmore {
  cursor: pointer;
  text-decoration: underline;
}

.ll-promo-paybox {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.ll-promo-paybox-title {
  margin-bottom: 10px;
  font-weight: 700;
}

.ll-promo-selected-wrap {
  margin: 0 0 12px;
}

.ll-promo-selected-title {
  margin-bottom: 6px;
  font-weight: 700;
}

.ll-promo-selected-list {
  margin: 0;
  padding-left: 18px;
}

.ll-promo-selected-total {
  margin-top: 8px;
  font-weight: 700;
}

.ll-promo-hide {
  display: none !important;
}

.ll-promo-intro-card {
  padding: 18px 18px 16px;
  background: #fff;
}

.ll-promo-intro-card__title {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: #1f2937;
}

.ll-promo-intro-card__image-wrap {
  margin: 0 0 10px;
}

.ll-promo-intro-card__image {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.ll-promo-intro-card__caption {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6b7280;
}

.ll-promo-intro-card__instruction {
  margin: 0 0 18px;
  font-size: 15px;
  color: #111827;
}

.ll-promo-intro-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 640px) {
  .ll-promo-top {
    display: block;
  }

  .ll-promo-calendars {
    grid-template-columns: 1fr;
  }

  .ll-promo-intro-card {
    padding: 14px;
  }

  .ll-promo-intro-card__title {
    font-size: 18px;
  }

  .ll-promo-intro-card__instruction {
    font-size: 14px;
  }

  .ll-promo-intro-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ll-promo-intro-card__actions .ll-btn {
    width: 100%;
  }
}

/* Included newsletter day */
.ll-promo-top--included {
  padding-right: 0;
}

.ll-promo-cell.is-included {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.ll-promo-cell.is-included.is-disabled {
  opacity: 1;
}

.ll-promo-included-summary {
  margin-top: 10px;
  font-size: 14px;
}

.ll-promo-change-included {
  margin-left: 8px;
}

.ll-promo-included-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ll-promo-included-confirmation {
  max-width: 720px;
  padding: 18px;
}

.ll-promo-included-confirmation h2 {
  margin-top: 0;
}

.ll-promo-included-upsell {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
}

.ll-promo-included-upsell p {
  margin: 6px 0 0;
}

@media (max-width: 640px) {
  .ll-promo-included-actions {
    flex-direction: column;
  }

  .ll-promo-included-actions .ll-btn {
    width: 100%;
  }
}


/* Offer-only paid upgrades */
.ll-promo-offer-upgrades {
  margin: 18px 0 4px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.ll-promo-offer-upgrades__heading h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.ll-promo-offer-upgrades__heading p {
  margin: 0 0 14px;
  color: #475569;
}

.ll-promo-upgrade-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid #e5e7eb;
  cursor: pointer;
}

.ll-promo-upgrade-option:first-of-type {
  border-top: 0;
}

.ll-promo-upgrade-option.is-owned {
  cursor: default;
}

.ll-promo-upgrade-option__control input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.ll-promo-upgrade-option__copy {
  display: grid;
  gap: 3px;
}

.ll-promo-upgrade-option__copy strong {
  font-size: 15px;
}

.ll-promo-upgrade-option__copy span {
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.ll-promo-upgrade-option__copy .ll-promo-upgrade-option__tagline {
  margin-top: 1px;
  font-size: 14px;
  color: #334155;
}

.ll-promo-upgrade-benefits {
  display: grid;
  gap: 5px;
  margin-top: 7px;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.ll-promo-upgrade-benefit {
  position: relative;
  padding-left: 15px;
}

.ll-promo-upgrade-benefit::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

.ll-promo-upgrade-benefits strong {
  color: #334155;
}

.ll-promo-upgrade-option__notice {
  margin-top: 5px;
  font-weight: 600;
}

.ll-promo-upgrade-option[hidden] {
  display: none !important;
}

.ll-promo-upgrade-option__price {
  white-space: nowrap;
  font-weight: 700;
}

.ll-promo-upgrade-option.is-owned .ll-promo-upgrade-option__price {
  color: #15803d;
}

.ll-promo-upgrade-note {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
}

@media (max-width: 640px) {
  .ll-promo-upgrade-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ll-promo-upgrade-option__price {
    grid-column: 2;
  }
}

.ll-promo-offer-upgrades__actions {
  margin-top: 12px;
  text-align: right;
}
/* Unified included + paid newsletter selection */

/* Release 2026.09.14.9: unselected dates are deliberately neutral. */
.ll-promo-cell:not(.is-disabled):not(.is-booked):not(.is-included):not(.is-included-selection):not(.is-checked) {
  border: 1px solid #d1d5db;
  background: #fff;
  color: inherit;
  box-shadow: none;
  outline: none;
}

.ll-promo-cell.is-free-eligible:not(.is-disabled):not(.is-booked):not(.is-included):not(.is-included-selection):not(.is-checked) {
  border: 1px solid #d1d5db;
  background: #fff;
  box-shadow: none;
}
.ll-promo-top--combined {
  padding-right: 190px;
}

.ll-promo-cell.is-free-eligible:not(.is-booked):not(.is-included):not(.is-included-selection) {
  border-color: #e5e7eb;
  background: #fff;
}

.ll-promo-cell.is-checked:not(.is-booked):not(.is-included):not(.is-included-selection) {
  border: 2px solid #15803d;
  background: #dcfce7;
  color: #166534;
  box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.14);
  font-weight: 800;
}

.ll-promo-cell.is-checked:not(.is-booked):not(.is-included):not(.is-included-selection)::after {
  content: "✓";
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  color: #15803d;
}

.ll-promo-cell.is-included,
.ll-promo-cell.is-included-selection {
  border: 2px solid #1d4ed8;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
  font-weight: 800;
}

.ll-promo-cell.is-included::after,
.ll-promo-cell.is-included-selection::after {
  content: "FREE";
  position: absolute;
  right: 3px;
  bottom: 2px;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .ll-promo-top--combined {
    padding-right: 0;
  }
}

/* Focused creation running-cart summary and stage action. */
.ll-focused-order-summary {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
}

.ll-focused-order-summary__heading {
  margin-bottom: 7px;
  font-size: 16px;
}

.ll-focused-order-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 3px 0;
}

.ll-focused-order-summary__amount {
  white-space: nowrap;
}

.ll-focused-order-summary__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #d1d5db;
}

.ll-focused-order-summary__total {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}

.ll-focused-order-summary__total span,
.ll-focused-order-summary__total strong {
  font-weight: 700;
}

.ll-focused-order-summary__action-slot {
  display: flex;
  align-items: center;
}

.ll-focused-order-summary__action-slot:empty {
  display: none;
}

.ll-focused-promo-action-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

@media (max-width: 640px) {
  .ll-focused-order-summary__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ll-focused-order-summary__total {
    justify-content: space-between;
    width: 100%;
  }

  .ll-focused-order-summary__action-slot {
    width: 100%;
  }

  .ll-focused-order-summary__action-slot .ll-focused-promo-action {
    width: 100%;
  }
}



/* Premium/basic Event newsletter choice */
.ll-event-listing-choice {
  width: 100%;
  margin: 0 auto;
}
.ll-event-listing-choice__lead {
  margin: 8px 0 18px;
  color: #4b5563;
}
.ll-event-listing-choice__grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(
      min(100%, calc(var(--ll-newsletter-preview-width) + 36px)),
      calc(var(--ll-newsletter-preview-width) + 36px)
    )
  );
  justify-content: center;
  gap: 18px;
}
.ll-event-listing-choice__card {
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ll-event-listing-choice__card--premium {
  border-width: 2px;
}
.ll-event-listing-choice__card-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  font-size: 17px;
}
.ll-event-listing-choice__basic-preview,
.ll-event-listing-choice__premium-preview {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.ll-event-listing-choice__selected-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
}

.ll-event-listing-choice__selected-summary[hidden],
.ll-event-listing-choice__checkout[hidden] {
  display: none;
}

.ll-event-listing-choice__selected-copy {
  min-width: 0;
}

.ll-event-listing-choice__selected-label {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ll-event-listing-choice__selected-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 17px;
}

.ll-event-listing-choice__selected-title span {
  white-space: nowrap;
}

.ll-event-listing-choice.is-checkout-active > .ll-focused-content-review__intro,
.ll-event-listing-choice.is-checkout-active > .ll-event-listing-choice__grid {
  display: none;
}

.ll-event-listing-choice__checkout {
  margin-top: 0;
  scroll-margin-top: 120px;
}

.ll-event-listing-choice__checkout-heading {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

.ll-event-listing-choice__checkout-note {
  margin-bottom: 12px;
  color: #475569;
}

@media (max-width: 760px) {
  .ll-event-listing-choice__grid { grid-template-columns: 1fr; }

  .ll-event-listing-choice__selected-summary {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .ll-event-listing-choice__selected-title {
    justify-content: space-between;
  }

  .ll-event-listing-choice__change-button {
    width: 100%;
  }
}

/* Newsletter promotion chooser: compare both placements inside real newsletter-rendered slices. */
.ll-newsletter-choice {
  max-width: 1120px;
  margin: 0 auto;
}

.ll-newsletter-choice__heading {
  margin: 0 0 18px;
}

.ll-newsletter-choice__heading h3 {
  margin: 0 0 6px;
}

.ll-newsletter-choice__heading p {
  margin: 0;
  color: #475569;
}

.ll-newsletter-choice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 22px;
  align-items: center;
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background: #f8fafc;
}

.ll-newsletter-choice-row__preview {
  min-width: 0;
}

.ll-newsletter-choice-row__action {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 4px;
}

.ll-newsletter-choice-row__eyebrow {
  margin-bottom: 6px;
  color: #0f3f88;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ll-newsletter-choice-row__action h4 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 19px;
  line-height: 1.25;
}

.ll-newsletter-choice-row__action p {
  margin: 0 0 16px;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

.ll-newsletter-choice-row__action .ll-btn {
  width: 100%;
}

.ll-newsletter-real-slice {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
  overflow: hidden;
}

.ll-newsletter-real-slice__faded {
  opacity: .20;
  filter: grayscale(.15);
  pointer-events: none;
  user-select: none;
}

.ll-newsletter-real-slice__focus {
  position: relative;
  z-index: 2;
  opacity: 1;
}

.ll-newsletter-real-slice__masthead {
  max-height: 118px;
  overflow: hidden;
}

.ll-newsletter-real-slice__sponsor {
  margin: 4px 0 12px;
}

.ll-newsletter-real-slice__weather {
  max-height: 185px;
  overflow: hidden;
}

.ll-newsletter-real-slice__neighbor {
  max-height: 135px;
  overflow: hidden;
}

.ll-newsletter-real-slice__neighbor--before {
  margin-bottom: 12px;
}

.ll-newsletter-real-slice__neighbor--after {
  margin-top: 12px;
}

.ll-newsletter-real-slice__section-header {
  margin-bottom: 0;
}

.ll-newsletter-real-slice__featured-row {
  padding-top: 2px;
}

.ll-newsletter-real-slice .ll-newsletter-row-preview,
.ll-newsletter-real-slice .ll-ns-sponsored-preview,
.ll-newsletter-real-slice table {
  max-width: 100%;
}

.ll-newsletter-choice__loading {
  padding: 48px 18px;
  color: #64748b;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #fff;
}

.ll-newsletter-choice__footer {
  margin-top: 4px;
  text-align: center;
}

@media (max-width: 860px) {
  .ll-newsletter-choice-row {
    grid-template-columns: 1fr;
  }

  .ll-newsletter-choice-row__action {
    padding-top: 0;
  }

  .ll-newsletter-choice-row__action .ll-btn {
    width: auto;
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .ll-newsletter-choice-row {
    padding: 12px;
    gap: 14px;
  }

  .ll-newsletter-real-slice {
    padding: 10px;
  }

  .ll-newsletter-choice-row__action .ll-btn {
    width: 100%;
  }
}


/* Release 2026.09.26.9 — wider promotion flow, compact date totals, consistent navigation. */
#dashboard-modal:has(.ll-newsletter-choice) .dashboard-modal-content,
#dashboard-modal:has(.ll-promo-wrap) .dashboard-modal-content {
  width: min(96vw, 1320px);
  max-width: 1320px;
}

.ll-promo-wrap .ll-promo-right {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 0 0 12px;
}

.ll-promo-wrap .ll-promo-total {
  width: auto;
  min-width: 340px;
  padding: 10px 12px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #fff;
}

.ll-promo-wrap .ll-promo-total-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.ll-promo-selected-count {
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.ll-promo-total-summary {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.ll-promo-total-summary .ll-promo-total-label {
  margin: 0;
  opacity: .7;
}

.ll-promo-total-summary .ll-promo-total-value {
  font-size: 20px;
  line-height: 1;
}

.ll-promo-choice-back-row {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 12px;
}

.ll-focused-order-summary__days {
  color: #475569;
  margin-right: 6px;
}

@media (max-width: 760px) {
  #dashboard-modal:has(.ll-newsletter-choice) .dashboard-modal-content,
  #dashboard-modal:has(.ll-promo-wrap) .dashboard-modal-content {
    width: calc(100vw - 20px);
    max-width: none;
  }

  .ll-promo-wrap .ll-promo-total {
    min-width: 0;
    width: 100%;
  }

  .ll-promo-wrap .ll-promo-total-row {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .ll-promo-wrap .ll-promo-pay {
    margin-left: auto;
  }
}
