.lp-page-title {
  margin: 0;
  font-size: 24px;
}

/* The anonymous planner uses the guest shell but still inherits the app's
   desktop sidebar offset. Keep the page, shell header, and board on one
   shared full-width grid at every breakpoint. */
body.app.page-lovina-planner.no-sidebar .app-content {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 24px clamp(16px, 3vw, 48px);
}

body.page-lovina-planner .app-title-content,
body.page-lovina-planner .booking-wordpress-shell,
body.page-lovina-planner .booking-wordpress-shell .elementor,
body.page-lovina-planner .booking-wordpress-shell .elementor-top-section {
  width: 100%;
  max-width: none;
}

body.page-lovina-planner .app-title,
body.page-lovina-planner .app-title-content {
  padding: 0;
}

body.app.page-lovina-planner.no-sidebar .app-title {
  position: sticky;
  top: 0;
  z-index: 100;
  width: calc(100% + clamp(32px, 6vw, 96px));
  margin: -24px calc(-1 * clamp(16px, 3vw, 48px)) 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.app.page-lovina-planner.no-sidebar .app-title-content,
body.app.page-lovina-planner.no-sidebar .booking-wordpress-shell {
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

body.page-lovina-planner .booking-wordpress-shell .elementor-top-section > .elementor-container {
  width: 100% !important;
  max-width: none !important;
}

body.page-lovina-planner .booking-wordpress-shell .elementor-top-section > .elementor-container > .elementor-column {
  max-width: none;
}

.lp-app {
  display: grid;
  gap: 16px;
  color: #1f2933;
}

.lp-seo-intro {
  max-width: 900px;
  margin: 0 auto 20px;
  color: #34200c;
}

.lp-seo-intro h1 {
  margin: 0 0 10px;
  color: #70400d;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.lp-seo-intro p,
.lp-seo-content p,
.lp-seo-content li,
.lp-faq dd {
  line-height: 1.7;
}

.lp-seo-intro p {
  max-width: 78ch;
  margin: 0;
  font-size: 1rem;
}

#lovina-planner-controls {
  scroll-margin-top: 100px;
}

.lp-seo-content {
  max-width: 900px;
  margin: 52px auto 12px;
  padding: 36px clamp(20px, 4vw, 44px);
  border-top: 3px solid #c9a45c;
  border-radius: 10px;
  background: #fffaf0;
  color: #34200c;
}

.lp-seo-content > section + section {
  margin-top: 40px;
}

.lp-seo-content h2 {
  margin: 0 0 14px;
  color: #70400d;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.25;
}

.lp-seo-content h3 {
  margin: 0 0 10px;
  color: #8a4b16;
  font-size: 1.1rem;
  line-height: 1.3;
}

.lp-seo-content p {
  max-width: 76ch;
  margin: 0 0 14px;
}

.lp-seo-content a {
  color: #8a4b16;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.lp-seo-section-intro {
  margin-bottom: 20px !important;
}

.lp-itinerary-ideas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.lp-itinerary-ideas article {
  padding-left: 16px;
  border-left: 2px solid #c9a45c;
}

.lp-itinerary-ideas ul {
  margin: 0;
  padding-left: 19px;
}

.lp-itinerary-ideas li + li {
  margin-top: 6px;
}

.lp-faq dl {
  margin: 0;
}

.lp-faq-item {
  padding: 18px 0;
  border-bottom: 1px solid #dfcfb4;
}

.lp-faq-item:first-child {
  padding-top: 4px;
}

.lp-faq-item dt {
  color: #70400d;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
}

.lp-faq-item dd {
  max-width: 76ch;
  margin: 7px 0 0;
}

.lp-seo-cta {
  padding: 24px;
  border: 1px solid #d8c5a4;
  border-radius: 10px;
  background: #fff;
}

.lp-seo-cta-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  padding: 11px 18px;
  border-radius: 7px;
  background: #a24e05;
  color: #fff !important;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.lp-seo-cta-link:hover,
.lp-seo-cta-link:focus {
  background: #70400d;
}

.lp-seo-cta-link:focus-visible {
  outline: 3px solid rgba(255, 186, 0, .7);
  outline-offset: 2px;
}

.lp-toolbar,
.lp-palette,
.lp-board-panel {
  border: 1px solid #d8dee6;
  border-radius: 10px;
  background: #fff;
}

.lp-toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  padding: 14px;
}

.lp-field,
.lp-field-participants {
  width: 100%;
  min-width: 0;
}

.lp-field > .form-control,
.lp-code-controls,
.lp-day-count-controls,
.lp-code-controls .btn,
.lp-day-count-controls .btn {
  min-height: 38px;
  height: 38px;
}

.lp-field-participants select { width: 100%; }

.lp-toolbar-actions {
  grid-column: 1 / -1;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.lp-field {
  display: grid;
  gap: 5px;
}

.lp-field label {
  margin: 0;
  color: #52606d;
  font-size: 12px;
  font-weight: 700;
}

.lp-day-count-controls,
.lp-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-code-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
}

.lp-code-controls input {
  width: 100%;
  min-width: 0;
}

.lp-day-count-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: 100%;
}

.lp-day-count-controls select {
  width: 100%;
  min-width: 0;
  max-width: 220px;
}

.lp-day-count-controls .btn,
.lp-toolbar-actions .btn {
  white-space: nowrap;
}

.lp-status {
  grid-column: 1 / -1;
  min-height: 20px;
  color: #52606d;
  font-size: 13px;
}

.lp-status.is-error { color: #b42318; }
.lp-status.is-success { color: #16794a; }

.lp-tour-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 11px 14px;
  border: 1px solid #c8e0d3;
  border-radius: 10px;
  background: #f3fbf6;
  color: #245b3e;
  font-size: 13px;
}
.lp-tour-summary-total { font-weight: 700; }
.lp-tour-summary-note { color: #527363; }
.lp-tour-summary-line {
  flex: 1 1 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.lp-mobile-hint { display: none; }
.lp-desktop-hint { display: block; }

.lp-workspace {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.lp-palette {
  position: sticky;
  top: 16px;
  overflow: hidden;
}

.lp-palette-header {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid #e7ebf0;
}

.lp-palette h2,
.lp-empty-board h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.lp-palette p,
.lp-empty-board p {
  margin: 0;
  color: #66788a;
  font-size: 13px;
}

.lp-activity-list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 335px);
  overflow-y: auto;
  padding: 12px;
}

.lp-activity {
  position: relative;
  padding: 10px;
  border: 1px solid #cbd5df;
  border-left: 4px solid #2f80ed;
  border-radius: 8px;
  background: #f8fbff;
  cursor: grab;
  user-select: none;
}

.lp-activity.has-background,
.lp-placement.has-background {
  background-image: linear-gradient(rgba(255, 255, 255, .2), rgba(235, 246, 255, .2)), var(--activity-background);
  background-position: center;
  background-size: cover;
}
.lp-activity.has-background::before,
.lp-placement.has-background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, .2);
  pointer-events: none;
}
.lp-activity.has-background > *,
.lp-placement.has-background > * { position: relative; z-index: 1; }

.lp-activity:hover,
.lp-activity:focus,
.lp-activity.is-selected {
  border-color: #2f80ed;
  background: #edf6ff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.14);
}

.lp-activity:active { cursor: grabbing; }

.lp-activity-name {
  display: block;
  color: #172b4d;
  font-size: 13px;
  font-weight: 700;
}

.lp-activity-description,
.lp-placement-description {
  display: block;
  margin-top: 4px;
  color: #52606d;
  font-size: 11px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.lp-activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 5px;
  color: #60758a;
  font-size: 11px;
}

.lp-muted {
  padding: 0 14px 14px;
  color: #66788a;
}

.lp-board-panel {
  min-width: 0;
  padding: 14px;
}

.lp-empty-board {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 300px;
  place-content: center;
  text-align: center;
}

.lp-empty-board .fa {
  margin-bottom: 8px;
  color: #9aabbc;
  font-size: 42px;
}

.lp-days {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  overflow-x: auto;
  padding: 2px 2px 12px;
}

.lp-transport-palette {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 41, 55, .12);
}

.lp-transport-palette h2 { margin-bottom: .25rem; }
.lp-transport-palette p { color: #667085; font-size: .85rem; }
.lp-transport-card { cursor: pointer; }
.lp-transport-hint { display: block; margin-top: .35rem; color: #667085; }
.lp-day-transfers { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.lp-day-transfer { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .65rem; border-radius: .5rem; background: #eef6ff; color: #164e63; font-size: .85rem; }

.lp-day {
  position: relative;
  flex: 0 0 310px;
  overflow: hidden;
  border: 1px solid #cbd5df;
  border-radius: 10px;
  background: #f8fafc;
}

.lp-day.is-day-drop-target { border-color: #7aaee8; }
.lp-day.is-day-drag-over {
  border-color: #2f80ed;
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.2);
}

.lp-day.is-day-insert-before::before,
.lp-day.is-day-insert-after::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: #2f80ed;
  pointer-events: none;
}

.lp-day.is-day-insert-before::before { left: 1px; }
.lp-day.is-day-insert-after::after { right: 1px; }

.lp-day.is-arrival { border-color: #d69e2e; }
.lp-day.is-free { background: #f4f7f9; }

.lp-endpoint-transport {
  margin: 12px 10px 10px;
  padding: 8px;
  border: 1px solid #c8dce9;
  border-radius: 7px;
  background: #f2f8fc;
}

.lp-endpoint-transport-label {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  color: #164e63;
  font-size: 12px;
  font-weight: 700;
}

.lp-endpoint-transport-label input { flex: 0 0 auto; margin: 0 4px 0 0; }
.lp-endpoint-transport .lp-transport-hint { margin-left: 21px; }

.lp-add-day-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 100%;
  width: 100%;
  min-height: 52px;
  margin: 8px auto 0;
  padding: 10px 16px;
  border: 1px dashed #a24e05;
  border-radius: 10px;
  background: #fff8e7;
  color: #70400d;
  font-weight: 700;
  cursor: pointer;
}
.lp-add-day-bottom span { font-size: 24px; line-height: 1; }
.lp-add-day-bottom:hover,
.lp-add-day-bottom:focus-visible { border-color: #70400d; background: #fff0c2; }

.lp-day-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 76px;
  padding: 12px;
  border-bottom: 1px solid #dfe5eb;
  background: #fff;
}

.lp-day.is-arrival .lp-day-header { background: #fff9e8; }

.lp-day-title {
  margin: 0;
  color: #172b4d;
  font-size: 16px;
}

.lp-day-date {
  margin-top: 4px;
  color: #66788a;
  font-size: 12px;
}

.lp-day-actions {
  display: flex;
  align-items: center;
  gap: 3px;
}
.lp-day-drag-handle,
.lp-day-move,
.lp-day-remove {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid #a24e05;
  border-radius: 5px;
  background: #fff8e7;
  color: #70400d;
  line-height: 1;
}
.lp-day-drag-handle { cursor: grab; touch-action: none; }
.lp-day-drag-handle:active { cursor: grabbing; }
.lp-day-drag-handle:hover,
.lp-day-drag-handle:focus,
.lp-day-move:hover:not(:disabled),
.lp-day-move:focus:not(:disabled),
.lp-day-remove:hover,
.lp-day-remove:focus {
  border-color: #70400d;
  color: #70400d;
  outline: none;
}
.lp-day-move:disabled { cursor: not-allowed; opacity: 0.35; }
.lp-day-remove {
  border-color: rgba(180, 35, 24, .45);
  color: #b42318;
  cursor: pointer;
}
.lp-day-remove:hover,
.lp-day-remove:focus {
  border-color: #b42318;
  background: #b42318;
  color: #fff;
}
.lp-day-arrival-lock {
  padding: 4px 6px;
  border-radius: 999px;
  background: #fff0c2;
  color: #805b00;
  font-size: 10px;
  font-weight: 700;
}

.lp-free-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #52606d;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.lp-slot-grid {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  grid-template-rows: 84px repeat(28, 34px);
  gap: 2px 6px;
  padding: 10px;
}

.lp-slot-label {
  display: flex;
  align-items: center;
  color: #52606d;
  font-size: 9px;
  font-weight: 700;
}

.lp-drop-zone {
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  margin: 0;
  padding: 0;
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  touch-action: manipulation;
  border: 1px dashed #bac6d2;
  border-radius: 7px;
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.lp-drop-zone::after {
  pointer-events: none;
  content: "Drop here";
  display: grid;
  height: 100%;
  min-height: 32px;
  place-content: center;
  color: #9aabbc;
  font-size: 9px;
}

.lp-drop-zone.is-disabled {
  cursor: default;
  border-style: solid;
  border-color: #e2e7ec;
  background: repeating-linear-gradient(135deg, #f2f4f6, #f2f4f6 8px, #e9edf1 8px, #e9edf1 16px);
}

.lp-drop-zone.is-disabled::after { content: "Unavailable"; color: #8795a4; }
.lp-drop-zone.is-valid-target { border-color: #2f80ed; background: #edf6ff; }
.lp-drop-zone.is-valid-target::after { color: #1b65bf; font-weight: 700; }
.lp-drop-zone.is-drop-hover { box-shadow: inset 0 0 0 2px #2f80ed; background: #dcedff; }
.lp-drop-zone.is-invalid-target { opacity: 0.58; }

.lp-drop-zone:focus-visible {
  outline: 2px solid #a24e05;
  outline-offset: 1px;
}

.lp-placement {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 9px;
  border: 1px solid #2f80ed;
  border-radius: 7px;
  background: #eaf4ff;
  box-shadow: 0 3px 8px rgba(31, 65, 99, 0.12);
  cursor: grab;
}

.lp-photos-button {
  margin-top: 6px;
  padding: 3px 7px;
  border: 1px solid #a24e05;
  border-radius: 999px;
  background: #fff8e7;
  color: #70400d;
  font-size: 10px;
  font-weight: 700;
}
.lp-photos-button:hover,
.lp-photos-button:focus { background: #fff8e7; outline: 2px solid rgba(162,78,5,.35); }

.lp-activity > .lp-photos-button {
  display: block;
  width: fit-content;
  margin-left: auto;
}

.lp-placement-footer > .lp-photos-button { margin-left: auto; }

.lp-placement.is-selected {
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.22);
}

.lp-placement-name {
  padding-right: 30px;
  color: #173f6b;
  font-size: 12px;
  font-weight: 700;
}

.lp-placement-details {
  margin-top: 4px;
  color: #45647f;
  font-size: 10px;
}

.lp-scooter-choice {
  margin: 0 10px 10px;
  padding: 8px;
  border: 1px solid #d8dee6;
  border-radius: 7px;
  background: #fbfcfd;
}
.lp-scooter-choice legend {
  padding: 0 4px;
  color: #52606d;
  font-size: 11px;
  font-weight: 700;
}
.lp-scooter-option {
  display: block;
  margin: 4px 0;
  color: #34495e;
  font-size: 11px;
}
.lp-scooter-option input { margin-right: 4px; }

.lp-placement-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 5px;
  margin-top: 6px;
}

.lp-remove-placement {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 4;
  display: inline-grid;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(138, 51, 64, .35);
  border-radius: 7px;
  background: rgba(255, 255, 255, .88);
  color: #b42318;
  font-size: 14px;
  line-height: 1;
  place-content: center;
  cursor: pointer;
}

.lp-remove-placement:hover,
.lp-remove-placement:focus-visible {
  background: #b42318;
  color: #fff;
  outline: 2px solid rgba(180, 35, 24, .35);
  outline-offset: 2px;
}

.lp-free-day-message {
  display: grid;
  min-height: 390px;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: #66788a;
  text-align: center;
}

.lp-free-day-message .fa { font-size: 34px; }

.lp-confirmation-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 999px;
  background: #fff0c2;
  color: #805b00;
  font-size: 9px;
  font-weight: 700;
}

.lp-confirmation-badge.is-eligible { background: #d9f7e8; color: #12633d; }
.lp-confirmation-badge.is-date-needed { background: #e8edf2; color: #52606d; }

.lp-checkout {
  margin-top: 4px;
  padding: 10px 12px;
  border-left: 4px solid #2f80ed;
  border-radius: 5px;
  background: #edf6ff;
  color: #264a6d;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1400px) {
  .lp-toolbar {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
  .lp-toolbar-actions { align-self: end; }
}

@media (max-width: 900px) {
  .lp-toolbar { grid-template-columns: minmax(0, 1fr); }
  .lp-workspace { grid-template-columns: minmax(0, 1fr); }
  .lp-palette { position: static; }
  .lp-activity-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-height: 360px;
  }
  .lp-days {
    display: grid;
    overflow: visible;
  }
  .lp-day { width: 100%; }
}

.lp-free-day-message {
  display: grid;
  min-height: 400px;
  place-content: center;
  color: #66788a;
  text-align: center;
}

.lp-free-day-message .fa { margin-bottom: 7px; font-size: 30px; }

.lp-checkout {
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #edf7f1;
  color: #295f43;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1250px) {
  .lp-toolbar { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
  .lp-toolbar-actions { justify-content: flex-end; }
}

@media (max-width: 800px) {
  .lp-toolbar { grid-template-columns: 1fr; }
  .lp-toolbar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    z-index: 1;
  }
  .lp-toolbar-actions .btn { width: 100%; min-height: 44px; flex: none; }
  .lp-workspace { grid-template-columns: 1fr; }
  .lp-palette { position: static; }
  .lp-activity-list { max-height: 320px; }
  .lp-days { display: grid; overflow-x: visible; }
  .lp-day,
  .lp-add-day-bottom { width: 100%; }
  .lp-add-day-bottom { min-height: 48px; margin: 4px 0 0; }

  .lp-mobile-hint {
    display: block;
    margin-top: 4px;
    color: #52606d;
    font-size: 12px;
  }
  .lp-mobile-hint[hidden] { display: none; }

  .lp-desktop-hint { display: none; }

  .lp-day-count-controls select { max-width: none; }

  .lp-day.is-day-insert-before::before,
  .lp-day.is-day-insert-after::after {
    right: 8px;
    left: 8px;
    top: 1px;
    bottom: auto;
    width: auto;
    height: 4px;
  }

  .lp-day.is-day-insert-before::before { bottom: auto; }
  .lp-day.is-day-insert-after::after { top: auto; bottom: 1px; }
}

@media (max-width: 480px) {
  body.app.page-lovina-planner.no-sidebar .app-title {
    margin: -16px -16px 16px;
    width: calc(100% + 32px);
  }

  body.app.page-lovina-planner.no-sidebar .app-content {
    padding: 16px;
  }

  .lp-day-count-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    min-height: 0;
  }
  .lp-day-count-controls select { grid-column: 1 / -1; grid-row: 1; }
  .lp-day-count-controls .btn { grid-row: 2; }
  .lp-toolbar-actions { flex-wrap: wrap; }
  .lp-slot-grid { grid-template-columns: 70px minmax(0, 1fr); }
}
.lp-code-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  gap: 0.5rem;
  align-items: center;
}

.lp-email-fields {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lp-guest-save-result {
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid #c9dfd2;
  border-radius: 0.75rem;
  background: #f4fbf7;
}

.lp-guest-save-result code {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.lp-email-fields {
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.lp-email-fields .form-control {
  min-width: 12rem;
  flex: 1 1 12rem;
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 10px 12px;
  line-height: 1.25;
  resize: none;
}

.lp-email-fields > .btn {
  height: 44px;
  min-height: 44px;
}

@media (max-width: 767px) {
  .lp-code-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
  }

  .lp-email-fields {
    align-items: stretch;
    flex-direction: column;
  }

  .lp-email-fields .form-control,
  .lp-email-fields > .btn {
    width: 100%;
    flex: 0 0 44px;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }
}

/* Kubu Elsa Bali activity palette and repositioning state. Keep the cover
   image visible while using the brand gold as the interaction overlay. */
:root {
  --lp-brand-brown: #a24e05;
  --lp-brand-gold: #c9a45c;
  --lp-brand-cream: #fff8e7;
  --lp-brand-teal: #0f766e;
}

.lp-activity,
.lp-placement {
  border-color: rgba(162, 78, 5, .45);
  border-left-color: var(--lp-brand-brown);
  background-color: var(--lp-brand-cream);
}

.lp-activity-name,
.lp-placement-name { color: #70400d; }

.lp-activity.has-background,
.lp-placement.has-background {
  background-color: var(--lp-brand-cream);
}

.lp-activity.has-background::before,
.lp-placement.has-background::before {
  background: rgba(255, 248, 231, .2);
}

.lp-activity:hover,
.lp-activity:focus,
.lp-activity.is-selected,
.lp-placement.is-selected {
  border-color: var(--lp-brand-gold);
  background-color: rgba(201, 164, 92, .22);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, .28);
}

.lp-activity.has-background:hover,
.lp-activity.has-background:focus,
.lp-activity.has-background.is-selected,
.lp-placement.has-background.is-selected {
  background-image: var(--activity-background);
  background-position: center;
  background-size: cover;
}

.lp-activity.has-background:hover::before,
.lp-activity.has-background:focus::before,
.lp-activity.has-background.is-selected::before,
.lp-placement.has-background.is-selected::before {
  background: rgba(201, 164, 92, .48);
}

.lp-slot-grid.is-repositioning .lp-drop-zone.is-valid-target {
  position: relative;
  z-index: 4;
  background: rgba(255, 248, 231, .96);
  border-color: var(--lp-brand-gold);
  box-shadow: inset 0 0 0 2px rgba(201, 164, 92, .42);
}

.lp-slot-grid.is-repositioning .lp-placement.is-selected {
  z-index: 2;
  opacity: .72;
}

.lp-endpoint-transport-label {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #cbb99f;
  border-radius: 10px;
  background: #fff;
  color: #164e63;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}

.lp-endpoint-transport-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  inline-size: 24px;
  block-size: 24px;
  min-inline-size: 24px;
  min-block-size: 24px;
  flex: 0 0 24px;
  margin: 0;
  padding: 0;
  border: 2px solid #8a5b2c;
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
  transform: none;
}

.lp-endpoint-transport-label input[type="checkbox"]::before {
  content: "";
  inline-size: 6px;
  block-size: 11px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: translateY(-1px) rotate(45deg) scale(0);
}

.lp-endpoint-transport-label input[type="checkbox"]:checked {
  border-color: #8a5b2c;
  background: #8a5b2c;
}

.lp-endpoint-transport-label input[type="checkbox"]:checked::before {
  transform: translateY(-1px) rotate(45deg) scale(1);
}

.lp-endpoint-transport-label:focus-within {
  outline: 2px solid #8a5b2c;
  outline-offset: 3px;
}

/* The public Elsa shell uses compact, uppercase atmospheric buttons. Keep
   these tokens scoped to the planner and its activity editor so unrelated
   staff screens retain their existing Bootstrap controls. */
.lp-app,
.lae-dialog {
  --lp-button-fill: #ff7a3d;
  --lp-button-hover: #ff5100;
  --lp-button-ink: #ffffff;
  --lp-button-outline: #a24e05;
}

.lp-app {
  --lp-button-fill: #a24e05;
  --lp-button-hover: #70400d;
}

.lp-app .btn,
.lae-dialog .btn {
  border: 0;
  border-radius: 7px;
  padding: 12px 20px;
  min-height: 44px;
  color: var(--lp-button-ink);
  background: var(--lp-button-fill);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.lp-app .btn:hover,
.lp-app .btn:focus,
.lae-dialog .btn:hover,
.lae-dialog .btn:focus {
  color: var(--lp-button-ink);
  background: var(--lp-button-hover);
}

.lp-app .btn:focus-visible,
.lae-dialog .btn:focus-visible {
  outline: 3px solid rgba(255, 186, 0, .7);
  outline-offset: 2px;
}

.lp-app .btn.btn-success { --lp-button-fill: #a24e05; --lp-button-hover: #70400d; }
.lp-app .btn.btn-danger { --lp-button-fill: #b94b3a; --lp-button-hover: #96382b; }
.lp-app .btn.btn-secondary { --lp-button-fill: #8a5b2c; --lp-button-hover: #70400d; }

.lp-app .btn.btn-light,
.lp-app .btn.btn-outline-primary,
.lp-app .btn.btn-outline-secondary,
.lp-app .btn.btn-outline-danger,
.lae-dialog .btn.btn-outline-primary,
.lae-dialog .btn.btn-outline-secondary,
.lae-dialog .btn.btn-outline-danger {
  color: var(--lp-button-outline);
  border: 2px solid var(--lp-button-outline);
  background: var(--lp-brand-cream, #fff8e7);
}

.lp-app .btn.btn-light:hover,
.lp-app .btn.btn-light:focus,
.lp-app .btn.btn-outline-primary:hover,
.lp-app .btn.btn-outline-primary:focus,
.lp-app .btn.btn-outline-secondary:hover,
.lp-app .btn.btn-outline-secondary:focus,
.lp-app .btn.btn-outline-danger:hover,
.lp-app .btn.btn-outline-danger:focus,
.lae-dialog .btn.btn-outline-primary:hover,
.lae-dialog .btn.btn-outline-primary:focus,
.lae-dialog .btn.btn-outline-secondary:hover,
.lae-dialog .btn.btn-outline-secondary:focus,
.lae-dialog .btn.btn-outline-danger:hover,
.lae-dialog .btn.btn-outline-danger:focus {
  color: #ffffff;
  border-color: var(--lp-button-hover);
  background: var(--lp-button-hover);
}

/* Preserve the small icon-only affordances in the timeline and gallery. */
.lp-app .lp-day-move,
.lp-app .lp-day-remove,
.lp-app .lp-photos-button,
.lp-app .lp-gallery-nav,
.lae-dialog .btn-sm {
  min-height: 32px;
  padding: 6px 10px;
  font-size: .75rem;
  letter-spacing: .08em;
}

/* Keep the cover image in its own layer so the staff-controlled opacity never
   fades activity text, controls, or status badges. */
.lp-app .lp-activity.has-background,
.lp-app .lp-placement.has-background {
  overflow: hidden;
  background-image: none !important;
}

.lp-app .lp-activity.has-background::after,
.lp-app .lp-placement.has-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--activity-background) center / cover no-repeat;
  opacity: var(--lp-activity-image-opacity, .8);
  pointer-events: none;
}

.lp-app .lp-activity.has-background::before,
.lp-app .lp-placement.has-background::before {
  z-index: 1;
  background: rgba(255, 248, 231, var(--lp-activity-image-overlay-opacity, .2));
}

.lp-app .lp-activity.has-background > *,
.lp-app .lp-placement.has-background > * {
  position: relative;
  z-index: 2;
}

/* Keep the corner control above the image without putting it in flex flow. */
.lp-app .lp-placement > .lp-remove-placement {
  position: absolute;
  z-index: 4;
}

.lp-app .lp-activity.has-background:hover::before,
.lp-app .lp-activity.has-background:focus::before,
.lp-app .lp-activity.has-background.is-selected::before,
.lp-app .lp-placement.has-background:hover::before,
.lp-app .lp-placement.has-background:focus::before,
.lp-app .lp-placement.has-background.is-selected::before {
  background: rgba(201, 164, 92, .48);
}

/* Whole-itinerary availability is shared by desktop and mobile. */
.lp-activity.is-unavailable {
  cursor: default;
  border-color: #c58a32;
  border-left-color: #9a5a12;
  background-color: #fff7e5;
  box-shadow: none;
}

.lp-activity.is-unavailable::before {
  background: rgba(255, 247, 229, .72);
}

.lp-activity-unavailable-message {
  margin-top: 8px;
  padding: 8px;
  border-radius: 6px;
  background: rgba(255, 244, 207, .94);
  color: #70400d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.lp-activity-add-day {
  min-height: 38px;
  margin-top: 8px;
  padding: 7px 10px;
  border: 1px solid #9a5a12;
  border-radius: 7px;
  background: #fff8e7;
  color: #70400d;
  font-weight: 700;
  cursor: pointer;
}

.lp-activity-add-day:hover,
.lp-activity-add-day:focus-visible {
  background: #c9a45c;
  color: #34200c;
  outline: 2px solid rgba(154, 90, 18, .3);
  outline-offset: 2px;
}

.lp-activity-add-day:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.lp-mobile-day-navigation,
.lp-selected-activity,
.lp-close-activities,
.lp-palette-overlay {
  display: none;
}

.lp-palette-context {
  margin-top: 5px !important;
  color: #70400d !important;
  font-weight: 700;
}

@media (max-width: 800px) {
  body.lp-activities-open { overflow: hidden; }

  .lp-seo-intro {
    margin-bottom: 16px;
  }

  .lp-seo-intro p {
    font-size: .95rem;
    line-height: 1.6;
  }

  .lp-seo-content {
    margin-top: 34px;
    padding: 28px 18px;
  }

  .lp-seo-content > section + section {
    margin-top: 32px;
  }

  .lp-itinerary-ideas {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lp-seo-cta {
    padding: 20px 16px;
  }

  .lp-board-panel {
    padding: 10px;
    overflow: visible;
  }

  .lp-mobile-day-navigation:not([hidden]) {
    position: sticky;
    top: var(--lp-mobile-header-height, 0px);
    z-index: 90;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    margin: -10px -10px 10px;
    padding: 9px 10px;
    border-bottom: 1px solid #d8c5a4;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 5px 12px rgba(52, 32, 12, .09);
    backdrop-filter: blur(8px);
  }

  .lp-day-tabs {
    display: flex;
    gap: 7px;
    min-width: 0;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .lp-day-tab {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    min-width: 76px;
    min-height: 48px;
    padding: 7px 10px;
    border: 1px solid #cbb99f;
    border-radius: 9px;
    background: #fffaf0;
    color: #70400d;
    text-align: center;
    scroll-snap-align: center;
    cursor: pointer;
  }

  .lp-day-tab.is-active {
    border-color: #a24e05;
    background: #a24e05;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(201, 164, 92, .35);
  }

  .lp-day-tab.has-valid-target::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #d5a925;
    box-shadow: 0 0 0 1px #805b00;
  }

  .lp-day-tab-label { font-size: 13px; font-weight: 800; }
  .lp-day-tab-context { font-size: 9px; letter-spacing: .02em; opacity: .86; }

  .lp-day-tab:focus-visible,
  .lp-add-day-tab:focus-visible,
  .lp-open-activities:focus-visible,
  .lp-close-activities:focus-visible {
    outline: 3px solid rgba(201, 164, 92, .65);
    outline-offset: 2px;
  }

  .lp-open-activities {
    min-height: 48px;
    padding: 8px 11px;
    border: 0;
    border-radius: 9px;
    background: #a24e05;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    cursor: pointer;
  }

  .lp-add-day-tab {
    width: 44px;
    min-height: 48px;
    padding: 0;
    border: 1px solid #a24e05;
    border-radius: 9px;
    background: #fff8e7;
    color: #70400d;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
  }

  .lp-add-day-tab:disabled { opacity: .5; cursor: not-allowed; }

  .lp-selected-activity:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 1px solid #c9a45c;
    border-radius: 9px;
    background: #fff5d6;
    color: #70400d;
    font-size: 12px;
    font-weight: 700;
  }

  .lp-selected-activity button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 7px 10px;
    border: 1px solid #8a5b2c;
    border-radius: 7px;
    background: #fff;
    color: #70400d;
    font-weight: 700;
  }

  .lp-days { display: block; padding: 0; }
  .lp-day { display: none; width: 100%; }
  .lp-day.is-mobile-active { display: block; }
  .lp-add-day-bottom { margin-top: 10px; }

  .lp-palette {
    position: fixed;
    z-index: 140;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    height: min(88vh, 760px);
    height: min(88dvh, 760px);
    max-height: calc(100vh - env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - env(safe-area-inset-top, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0);
    border: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 36px rgba(31, 41, 51, .28);
    transform: translateY(calc(100% + 24px));
    visibility: hidden;
    transition: transform .22s ease, visibility 0s linear .22s;
  }

  .lp-palette.is-mobile-open {
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .lp-palette-overlay:not([hidden]) {
    position: fixed;
    z-index: 130;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(31, 24, 18, .48);
  }

  .lp-palette-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 44px;
    padding: 16px;
  }

  .lp-palette-header > div { min-width: 0; }

  .lp-close-activities {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #cbb99f;
    border-radius: 9px;
    background: #fff8e7;
    color: #70400d;
    place-content: center;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  .lp-palette-header #lp-activity-filter { grid-column: 1 / -1; }

  .lp-activity-list {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: max-content;
    align-content: start;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .lp-activity { cursor: pointer; }
  .lp-activity.is-unavailable { cursor: default; }
  .lp-activity-add-day { min-height: 44px; }

  .lp-day-drag-handle { display: none; }

  .lp-app:not(.has-selected-activity) .lp-drop-zone:not(.is-disabled) {
    border-color: #2f80ed;
    background: #edf6ff;
  }

  .lp-app:not(.has-selected-activity) .lp-drop-zone:not(.is-disabled)::after {
    color: #1b65bf;
    font-weight: 700;
  }

  .lp-drop-zone:not(.is-disabled)::after { content: "+ Add activity"; }
  .lp-app.has-selected-activity .lp-drop-zone.is-valid-target::after { content: "Add here"; }
  .lp-app.has-selected-activity .lp-drop-zone.is-invalid-target {
    pointer-events: none;
    opacity: .32;
  }
  .lp-app.has-selected-activity .lp-drop-zone.is-invalid-target::after { content: "Not available"; }

  .lp-remove-placement {
    display: inline-grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    place-content: center;
    border: 1px solid rgba(138, 51, 64, .35);
    border-radius: 8px;
    background: rgba(255, 255, 255, .88);
    top: 8px;
    right: 8px;
    font-size: 16px;
  }

  .lp-placement-name { padding-right: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-palette { transition: none; }
  .lp-day-tabs { scroll-behavior: auto; }
}

/* WordPress-aligned public presentation.
   The interactive planner keeps its established DOM and state classes; this
   layer only brings the Django surface into the current Elsa visual system. */
body.page-lovina-planner {
  --elsa-rust: #a24e05;
  --elsa-rust-dark: #713702;
  --elsa-brown: #7a4b2a;
  --elsa-gold: #d1aa59;
  --elsa-gold-dark: #a67f32;
  --elsa-ink: #1e1810;
  --elsa-text: #575250;
  --elsa-muted: #80766f;
  --elsa-cream: #fffaf3;
  --elsa-sand: #f4ead8;
  --elsa-border: #ddcfbb;
  --elsa-content-width: 1150px;
  --elsa-font-body: "Open Sans", sans-serif;
  --elsa-font-display: "Yuji Syuku", serif;
  --elsa-font-heading: Vollkorn, Georgia, serif;
  background: #fff;
  color: var(--elsa-text);
  font-family: var(--elsa-font-body);
  font-size: 16px;
  line-height: 1.75;
}

body.app.page-lovina-planner.no-sidebar .app-content {
  min-height: auto;
  padding: 0 clamp(18px, 4vw, 56px) 64px;
  background: #fff;
}

body.app.page-lovina-planner.no-sidebar .app-title {
  width: calc(100% + (2 * clamp(18px, 4vw, 56px)));
  margin: 0 calc(-1 * clamp(18px, 4vw, 56px));
}

body.page-lovina-planner .booking-wordpress-shell,
body.page-lovina-planner .booking-wordpress-footer {
  font-family: var(--elsa-font-body);
}

body.page-lovina-planner .booking-wordpress-shell img {
  display: block;
}

body.page-lovina-planner .customer-booking-header:not(.customer-booking-header--synced) {
  min-height: 79px;
  padding: 0;
}

body.page-lovina-planner .customer-booking-header:not(.customer-booking-header--synced) .customer-booking-header-inner {
  min-height: 79px;
  padding: 0 10px;
  gap: 20px;
}

body.page-lovina-planner .customer-booking-header:not(.customer-booking-header--synced) .customer-booking-logo img {
  width: 111px;
}

body.page-lovina-planner .customer-booking-header:not(.customer-booking-header--synced) .customer-booking-nav--desktop {
  flex-wrap: nowrap;
  gap: 0;
}

body.page-lovina-planner .customer-booking-header:not(.customer-booking-header--synced) .customer-booking-nav a {
  padding: 11px;
  color: #fff;
  font-family: var(--elsa-font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0;
}

.lp-seo-intro,
.lp-app,
.lp-seo-content {
  width: min(100%, var(--elsa-content-width));
}

.lp-seo-intro {
  position: relative;
  max-width: none;
  margin: 0 auto 42px;
  padding: clamp(58px, 8vw, 96px) clamp(24px, 7vw, 84px);
  overflow: hidden;
  border-bottom: 1px solid var(--elsa-border);
  background:
    radial-gradient(circle at 100% 0%, rgba(209, 170, 89, .18), transparent 38%),
    var(--elsa-cream);
  color: var(--elsa-text);
  text-align: center;
}

.lp-eyebrow,
.lp-section-kicker {
  margin: 0 0 7px !important;
  color: var(--elsa-gold-dark) !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.35 !important;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lp-seo-intro h1 {
  margin: 0 0 18px;
  color: var(--elsa-brown);
  font-family: var(--elsa-font-heading);
  font-size: clamp(2.45rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.lp-seo-intro > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--elsa-text);
  font-size: clamp(.98rem, 1.5vw, 1.08rem);
  line-height: 1.75;
}

.lp-app {
  margin: 0 auto;
  gap: 24px;
  color: var(--elsa-text);
  font-family: var(--elsa-font-body);
}

.lp-app > *,
.lp-workspace,
.lp-workspace > *,
.lp-toolbar,
.lp-tour-summary,
.lp-board-panel {
  width: 100%;
  min-width: 0;
}

.lp-section-heading,
.lp-action-heading,
.lp-board-heading {
  min-width: 0;
}

.lp-section-heading h2,
.lp-action-heading h2,
.lp-board-heading h2,
.lp-palette h2,
.lp-empty-board h2 {
  margin: 0;
  color: var(--elsa-ink);
  font-family: var(--elsa-font-heading);
  font-weight: 700;
  letter-spacing: -.01em;
}

.lp-section-heading--setup {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--elsa-border);
}

.lp-section-heading h2,
.lp-action-heading h2,
.lp-board-heading h2,
.lp-palette h2 {
  font-size: 1.65rem;
  line-height: 1.2;
}

.lp-toolbar,
.lp-palette,
.lp-board-panel {
  border-color: var(--elsa-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

.lp-toolbar {
  gap: 18px 16px;
  padding: clamp(22px, 3vw, 34px);
  border-top: 3px solid var(--elsa-gold);
}

.lp-field {
  gap: 8px;
}

.lp-field label {
  color: var(--elsa-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.lp-app .form-control,
.lp-field > .form-control,
.lp-code-controls,
.lp-day-count-controls,
.lp-code-controls .btn,
.lp-day-count-controls .btn {
  min-height: 48px;
  height: 48px;
}

.lp-app .form-control {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  color: var(--elsa-text);
  font-family: var(--elsa-font-body);
  font-size: 15px;
  line-height: 1.35;
  box-shadow: none;
}

.lp-app .form-control:hover {
  border-color: #c5b9a9;
}

.lp-app .form-control:focus {
  border-color: var(--elsa-rust);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(162, 78, 5, .14);
}

.lp-toolbar-actions {
  display: grid;
  grid-template-columns: minmax(230px, auto) repeat(3, auto);
  align-items: end;
  justify-content: start;
  gap: 10px;
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px solid var(--elsa-border);
}

.lp-action-heading {
  margin-right: 18px;
}

.lp-app .btn,
.lae-dialog .btn,
.lp-seo-cta-link {
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid var(--elsa-rust);
  border-radius: 7px;
  background: var(--elsa-rust);
  color: #fff;
  font-family: var(--elsa-font-display);
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lp-app .btn:hover,
.lp-app .btn:focus,
.lae-dialog .btn:hover,
.lae-dialog .btn:focus,
.lp-seo-cta-link:hover,
.lp-seo-cta-link:focus {
  border-color: var(--elsa-rust-dark);
  background: var(--elsa-rust-dark);
  color: #fff;
}

.lp-app .btn:focus-visible,
.lae-dialog .btn:focus-visible,
.lp-seo-cta-link:focus-visible,
.lp-app .form-control:focus-visible,
.lp-drop-zone:focus-visible,
.lp-activity:focus-visible {
  outline: 3px solid rgba(209, 170, 89, .75);
  outline-offset: 3px;
}

.lp-app #lp-next-booking.btn-success {
  border-color: var(--elsa-gold);
  background: var(--elsa-gold);
  color: #fff;
}

.lp-app #lp-next-booking.btn-success:hover,
.lp-app #lp-next-booking.btn-success:focus {
  border-color: var(--elsa-gold-dark);
  background: var(--elsa-gold-dark);
}

.lp-app #lp-save-plan,
.lp-app .btn.btn-light,
.lp-app .btn.btn-outline-primary,
.lp-app .btn.btn-outline-secondary,
.lp-app .btn.btn-outline-danger,
.lae-dialog .btn.btn-outline-primary,
.lae-dialog .btn.btn-outline-secondary,
.lae-dialog .btn.btn-outline-danger {
  border: 1px solid var(--elsa-rust);
  background: #fff;
  color: var(--elsa-rust);
}

.lp-app #lp-save-plan:hover,
.lp-app #lp-save-plan:focus,
.lp-app .btn.btn-light:hover,
.lp-app .btn.btn-light:focus,
.lp-app .btn.btn-outline-primary:hover,
.lp-app .btn.btn-outline-primary:focus,
.lp-app .btn.btn-outline-secondary:hover,
.lp-app .btn.btn-outline-secondary:focus,
.lp-app .btn.btn-outline-danger:hover,
.lp-app .btn.btn-outline-danger:focus {
  border-color: var(--elsa-rust);
  background: var(--elsa-rust);
  color: #fff;
}

.lp-day-count-controls .btn {
  padding-inline: 13px;
  font-size: .78rem;
}

.lp-status {
  color: var(--elsa-muted);
  font-size: 13px;
}

.lp-tour-summary {
  gap: 10px 22px;
  padding: 16px 18px;
  border-color: #d8d0bd;
  border-radius: 4px;
  background: #f8f4e9;
  color: #385a42;
}

.lp-workspace {
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  gap: 24px;
}

.lp-palette {
  top: 92px;
}

.lp-palette-header {
  gap: 12px;
  padding: 22px;
  border-bottom-color: var(--elsa-border);
  background: var(--elsa-cream);
}

.lp-palette p,
.lp-empty-board p {
  color: var(--elsa-muted);
  font-size: 13px;
  line-height: 1.55;
}

.lp-activity-list {
  gap: 14px;
  max-height: calc(100vh - 365px);
  padding: 18px;
}

.lp-activity {
  padding: 16px;
  border: 1px solid var(--elsa-border);
  border-left: 3px solid var(--elsa-rust);
  border-radius: 3px;
  background-color: var(--elsa-cream);
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.lp-activity:hover,
.lp-activity:focus,
.lp-activity.is-selected {
  border-color: var(--elsa-gold-dark);
  background-color: var(--elsa-cream);
  box-shadow: 0 8px 20px rgba(71, 48, 25, .1);
  transform: translateY(-1px);
}

.lp-activity.is-selected {
  box-shadow: 0 0 0 3px rgba(209, 170, 89, .34);
}

.lp-activity-name,
.lp-placement-name {
  color: var(--elsa-ink);
  font-family: var(--elsa-font-display);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.35;
}

.lp-activity-description,
.lp-placement-description {
  color: var(--elsa-text);
  line-height: 1.55;
}

.lp-activity-meta,
.lp-placement-details {
  color: var(--elsa-muted);
}

.lp-app .lp-activity.has-background::before,
.lp-app .lp-placement.has-background::before {
  background: rgba(255, 250, 243, .66);
}

.lp-app .lp-activity.has-background:hover::before,
.lp-app .lp-activity.has-background:focus::before,
.lp-app .lp-activity.has-background.is-selected::before,
.lp-app .lp-placement.has-background:hover::before,
.lp-app .lp-placement.has-background:focus::before,
.lp-app .lp-placement.has-background.is-selected::before {
  background: rgba(244, 234, 216, .76);
}

.lp-board-panel {
  padding: 0 18px 18px;
  overflow: hidden;
}

.lp-board-heading {
  margin: 0 -18px 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--elsa-border);
  background: var(--elsa-cream);
}

.lp-days {
  gap: 16px;
}

.lp-day {
  border-color: var(--elsa-border);
  border-radius: 3px;
  box-shadow: none;
}

.lp-day.is-arrival {
  border-color: var(--elsa-gold-dark);
}

.lp-day-header,
.lp-day.is-arrival .lp-day-header {
  background: var(--elsa-sand);
}

.lp-day-title {
  color: var(--elsa-ink);
  font-family: var(--elsa-font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.lp-day-date,
.lp-slot-label {
  color: var(--elsa-muted);
}

.lp-drop-zone {
  border-color: #d7cbb9;
  border-radius: 3px;
  background: #fffdf9;
}

.lp-drop-zone.is-valid-target,
.lp-slot-grid.is-repositioning .lp-drop-zone.is-valid-target {
  border-color: var(--elsa-gold-dark);
  background: #fff7e8;
  box-shadow: inset 0 0 0 1px rgba(166, 127, 50, .35);
}

.lp-drop-zone.is-valid-target::after {
  color: var(--elsa-brown);
}

.lp-placement {
  border-color: var(--elsa-border);
  border-left-color: var(--elsa-rust);
  border-radius: 3px;
  background-color: var(--elsa-cream);
}

.lp-endpoint-transport-label,
.lp-scooter-option {
  border-radius: 3px;
}

.lp-guest-save-result {
  border-color: var(--elsa-gold);
  border-radius: 4px;
  background: var(--elsa-cream);
}

.lp-seo-content {
  max-width: none;
  margin: 72px auto 0;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 7vw, 84px);
  border-top: 1px solid var(--elsa-border);
  border-radius: 0;
  background: var(--elsa-cream);
  color: var(--elsa-text);
}

.lp-seo-content > section + section {
  margin-top: 54px;
}

.lp-seo-content h2 {
  margin-bottom: 16px;
  color: var(--elsa-brown);
  font-family: var(--elsa-font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
}

.lp-seo-content h3 {
  color: var(--elsa-ink);
  font-family: var(--elsa-font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.lp-seo-content p,
.lp-seo-content li,
.lp-faq dd {
  line-height: 1.85;
}

.lp-seo-content a {
  color: var(--elsa-rust);
}

.lp-itinerary-ideas article {
  padding: 22px;
  border: 1px solid var(--elsa-border);
  border-top: 3px solid var(--elsa-gold);
  background: #fff;
}

.lp-faq-item {
  border-bottom-color: var(--elsa-border);
}

.lp-faq-item dt {
  color: var(--elsa-ink);
  font-family: var(--elsa-font-display);
  font-weight: 500;
}

.lp-seo-cta {
  border-color: var(--elsa-border);
  border-radius: 3px;
}

body.app.page-lovina-planner.no-sidebar .booking-wordpress-footer {
  width: calc(100% + (2 * clamp(18px, 4vw, 56px)));
  margin: 64px calc(-1 * clamp(18px, 4vw, 56px)) -64px;
  background: var(--elsa-ink);
}

.lp-site-footer {
  width: calc(100% + (2 * clamp(18px, 4vw, 56px)));
  margin: 64px calc(-1 * clamp(18px, 4vw, 56px)) -64px;
  padding: 30px clamp(20px, 5vw, 64px) 24px;
  background: var(--elsa-ink);
  color: #fff;
  text-align: center;
}

.lp-footer-logo {
  display: inline-block;
}

.lp-footer-logo img {
  width: 300px;
  max-width: min(70vw, 300px);
  height: auto;
}

.lp-footer-nav,
.lp-footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-footer-nav {
  gap: 6px 16px;
  margin: 18px auto 22px;
}

.lp-footer-nav a,
.lp-footer-phone,
.lp-footer-social a {
  color: #fff;
  text-decoration: none;
}

.lp-footer-nav a {
  font-size: 16px;
}

.lp-footer-social {
  gap: 12px;
  margin-bottom: 22px;
}

.lp-footer-social a {
  display: inline-grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  place-content: center;
}

.lp-footer-nav a:hover,
.lp-footer-nav a:focus,
.lp-footer-phone:hover,
.lp-footer-phone:focus,
.lp-footer-social a:hover,
.lp-footer-social a:focus {
  color: var(--elsa-gold);
}

.lp-footer-nav a:focus-visible,
.lp-footer-phone:focus-visible,
.lp-footer-social a:focus-visible {
  outline: 2px solid var(--elsa-gold);
  outline-offset: 4px;
}

.lp-footer-phone {
  display: inline-block;
  font-family: var(--elsa-font-heading);
  font-size: 1.45rem;
  font-weight: 700;
}

.lp-footer-address {
  max-width: 680px;
  margin: 16px auto 26px;
  color: #fff;
  line-height: 1.65;
}

.lp-footer-copyright {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .lp-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-workspace {
    grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
    gap: 18px;
  }

  .lp-toolbar-actions {
    grid-template-columns: 1fr repeat(2, auto);
  }

  .lp-action-heading {
    grid-column: 1 / -1;
    margin: 0 0 6px;
  }
}

@media (max-width: 800px) {
  body.app.page-lovina-planner.no-sidebar .app-content {
    padding-inline: 16px;
    padding-bottom: 40px;
  }

  body.app.page-lovina-planner.no-sidebar .app-title {
    width: calc(100% + 32px);
    margin-inline: -16px;
  }

  body.page-lovina-planner .customer-booking-header:not(.customer-booking-header--synced),
  body.page-lovina-planner .customer-booking-header:not(.customer-booking-header--synced) .customer-booking-header-inner {
    min-height: 74px;
  }

  body.page-lovina-planner .customer-booking-header:not(.customer-booking-header--synced) .customer-booking-logo img {
    width: 128px;
  }

  .lp-seo-intro {
    margin-bottom: 24px;
    padding: 42px 20px;
  }

  .lp-seo-intro h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .lp-toolbar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 18px;
  }

  .lp-section-heading--setup,
  .lp-toolbar-actions,
  .lp-status {
    grid-column: 1;
  }

  .lp-toolbar-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .lp-action-heading {
    grid-column: 1;
    order: -2;
  }

  .lp-toolbar-actions .btn {
    width: 100%;
    white-space: normal;
  }

  .lp-app #lp-next-booking {
    order: -1;
  }

  .lp-day-count-controls select {
    max-width: none;
  }

  .lp-workspace {
    grid-template-columns: 1fr;
  }

  .lp-board-panel {
    padding: 0 10px 10px;
  }

  .lp-board-heading {
    margin: 0 -10px 10px;
    padding: 18px;
  }

  .lp-mobile-day-navigation:not([hidden]) {
    margin-top: 0;
    border-top: 1px solid var(--elsa-border);
  }

  .lp-day-tab,
  .lp-open-activities,
  .lp-add-day-tab,
  .lp-selected-activity,
  .lp-close-activities,
  .lp-palette {
    border-radius: 3px;
  }

  .lp-open-activities,
  .lp-day-tab.is-active {
    background: var(--elsa-rust);
  }

  .lp-palette-header {
    background: var(--elsa-cream);
  }

  .lp-activity-list {
    padding: 14px;
  }

  .lp-seo-content {
    margin-top: 46px;
    padding: 38px 20px;
  }

  .lp-seo-content > section + section {
    margin-top: 40px;
  }

  .lp-seo-content h2 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  body.app.page-lovina-planner.no-sidebar .booking-wordpress-footer {
    width: calc(100% + 32px);
    margin: 44px -16px -40px;
  }

  .lp-site-footer {
    width: calc(100% + 32px);
    margin: 44px -16px -40px;
    padding: 26px 20px 22px;
  }

  .lp-footer-logo img {
    width: 220px;
  }

  .lp-footer-nav {
    flex-direction: column;
    gap: 3px;
  }

  .lp-footer-nav a {
    padding: 5px;
  }
}

@media (max-width: 430px) {
  .lp-seo-intro {
    padding: 36px 18px;
  }

  .lp-code-controls {
    grid-template-columns: minmax(0, 1fr) 84px;
  }

  .lp-day-count-controls {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .lp-day-count-controls .btn {
    overflow: hidden;
    padding-inline: 4px;
    font-size: 0;
    letter-spacing: 0;
  }

  #lp-remove-day::after {
    content: "−";
    font: 500 24px/1 var(--elsa-font-body);
  }

  #lp-add-day::after {
    content: "+";
    font: 500 22px/1 var(--elsa-font-body);
  }

  .lp-section-heading h2,
  .lp-action-heading h2,
  .lp-board-heading h2,
  .lp-palette h2 {
    font-size: 1.45rem;
  }

  .lp-mobile-day-navigation:not([hidden]) {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .lp-open-activities {
    grid-column: 1 / -1;
    width: 100%;
  }

  .lp-itinerary-ideas article {
    padding: 18px;
  }
}

/* Keep the night stepper on one line at every phone width. */
@media (max-width: 480px) {
  .lp-day-count-controls {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 6px;
    width: 100%;
    height: 48px;
    min-height: 48px;
  }

  .lp-day-count-controls select,
  .lp-day-count-controls .btn {
    grid-row: 1;
    min-width: 0;
    height: 48px;
  }

  .lp-day-count-controls select {
    grid-column: 2;
    width: 100%;
    max-width: none;
    padding-right: 28px;
  }

  .lp-day-count-controls .btn {
    overflow: hidden;
    padding: 0;
    font-size: 0;
    letter-spacing: 0;
  }

  #lp-remove-day {
    grid-column: 1;
  }

  #lp-add-day {
    grid-column: 3;
  }

  #lp-remove-day::after {
    content: "−";
    font: 500 24px/1 var(--elsa-font-body);
  }

  #lp-add-day::after {
    content: "+";
    font: 500 22px/1 var(--elsa-font-body);
  }
}

/* The shared public footer is rendered after .app-content. */
body.app.page-lovina-planner.no-sidebar .booking-wordpress-footer,
body.app.page-lovina-planner.no-sidebar .customer-site-footer.lp-site-footer {
  width: 100%;
  margin: 0;
}
