/* ================================
   LodeStar Scheduling Widget — v1
   ================================ */

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 32px 16px;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  color: #333;
  background: #F5F5F5;
  line-height: 1.5;
}

.ls-widget {
  max-width: 960px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  padding: 32px 40px 24px;
}

/* ===== Header ===== */
.ls-header {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #E5E5E5;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ls-header h1 {
  margin: 4px 0 0;
  font-size: 30px;
  font-weight: 600;
  color: #1B4E7E;
  letter-spacing: 0.3px;
}
.ls-logo {
  display: block;
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 auto 4px;
}
.ls-header-sub {
  margin: 4px auto 0;
  max-width: 640px;
  color: #555;
  font-size: 14px;
}

/* ===== Progress bar ===== */
.ls-progress {
  border-bottom: 1px solid #E5E5E5;
  padding: 14px 0;
}
.ls-progress ol {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
  margin: 0 auto;
}
.ls-progress li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #999;
  font-size: 15px;
}
.ls-progress li.active {
  color: #1B4E7E;
  font-weight: 600;
}
.ls-progress li.done {
  color: #1B4E7E;
}
.ls-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #B8B8B8;
  color: #FFF;
  font-size: 14px;
  font-weight: 600;
}
.ls-progress li.active .ls-step-num,
.ls-progress li.done .ls-step-num {
  background: #1B4E7E;
}

/* ===== Step panels ===== */
.ls-step {
  display: none;
  padding: 28px 0 12px;
}
.ls-step-active {
  display: block;
}

/* ===== Section header ===== */
.ls-section {
  padding: 10px 0 14px;
}
.ls-section + .ls-section {
  border-top: none;
}
.ls-section-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  color: #1B4E7E;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ls-section-icon {
  color: #1B4E7E;
  font-size: 18px;
}
.ls-section-title-optional {
  font-size: 12px;
  font-weight: 500;
  color: #888;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 4px;
}
.ls-section-sub {
  margin: -4px 0 12px;
  font-size: 13px;
  color: #6B7B86;
  font-style: italic;
}

/* Standalone street-sign divider (replaces the LOCATION heading) */
.ls-streetsign-divider {
  display: flex;
  justify-content: flex-start;
  margin: 8px 0 -4px;
}
.ls-streetsign-divider svg {
  width: 60px;
  height: 72px;
  display: block;
}

/* ===== Form rows + fields ===== */
.ls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 16px;
}
.ls-row-2col .ls-field { flex: 1 1 calc(50% - 12px); }
.ls-field {
  flex: 1 1 calc(50% - 12px);
  min-width: 220px;
}
.ls-field-wide { flex: 1 1 100%; }
.ls-field-aside {
  flex: 0 0 auto;
  align-self: flex-end;
  padding-bottom: 6px;
}
.ls-field label {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 2px;
}
/* v126 (#8): unified input/select/textarea outlined-box style. Was a
   Material-Design underline-only style that felt dated next to the address
   autocomplete's outlined box. Now everything (text inputs, selects, textareas,
   number fields) uses a single outlined-rounded-rect treatment with consistent
   focus state. */
.ls-field input[type="text"],
.ls-field input[type="email"],
.ls-field input[type="tel"],
.ls-field input[type="number"],
.ls-field select,
.ls-field textarea {
  width: 100%;
  border: 1px solid #D6E3F0;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 10px 12px;
  font-size: 15px;
  color: #14304D;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ls-field input:focus,
.ls-field select:focus,
.ls-field textarea:focus {
  border-color: #1B4E7E;
  box-shadow: 0 0 0 3px rgba(27, 78, 126, 0.12);
}
.ls-field textarea {
  border: 1px solid #BBB;
  padding: 10px;
  resize: vertical;
  min-height: 100px;
}
.ls-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23888' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 18px;
}
.ls-required { color: #C0392B; }

/* Pill group — replacement for yes/no/not-sure dropdowns. One tap to answer,
   options visible at a glance. Hidden <input> inside stores the value so all
   existing code reading `el.value` continues to work. */
.ls-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #BBB;
}
.ls-pill {
  padding: 6px 14px;
  border: 1.5px solid #1B4E7E;
  background: #FFF;
  color: #1B4E7E;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.1s, color 0.1s, border-color 0.1s;
  font-family: inherit;
}
.ls-pill:hover { background: #E8EEF4; }
.ls-pill.ls-pill-active {
  background: #1B4E7E;
  color: #FFF;
}
.ls-pill.ls-pill-active:hover { background: #14304D; }
/* "Not sure" gets a quieter treatment so the primary yes/no choices read first */
.ls-pill-soft {
  border-color: #BBB;
  color: #777;
}
.ls-pill-soft:hover { background: #F0F0F0; }
.ls-pill-soft.ls-pill-active {
  background: #777;
  border-color: #777;
  color: #FFF;
}
/* Error state — when the parent field has a validation error, pills go red */
.ls-pill-group-error { border-bottom-color: #C0392B; }
.ls-pill-group-error .ls-pill {
  border-color: #C0392B;
  color: #C0392B;
}
.ls-pill-group-error .ls-pill.ls-pill-active {
  background: #C0392B;
  color: #FFF;
}

/* ===== Checkboxes ===== */
.ls-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 14px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
}
.ls-checkbox input {
  margin-top: 3px;
}
.ls-checkbox-sms {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 14px 0;
}

/* ===== Inline link style ===== */
.ls-link {
  color: #1B4E7E;
  font-style: italic;
  text-decoration: none;
  font-size: 14px;
}
.ls-link:hover { text-decoration: underline; }

/* ===== Buttons ===== */
.ls-actions {
  display: flex;
  justify-content: center;
  padding: 24px 0 8px;
  border-top: 1px solid #E5E5E5;
  margin-top: 12px;
}
.ls-actions-split {
  justify-content: space-between;
}
/* Duplicate nav bar mirrored at the TOP of a step. Flips the border to the
   bottom so it reads as a header divider rather than a footer. */
.ls-actions-top {
  border-top: none;
  border-bottom: 1px solid #E5E5E5;
  padding: 0 0 16px;
  margin-top: 0;
  margin-bottom: 20px;
}
.ls-btn {
  border: none;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  transition: background 0.15s, box-shadow 0.15s;
}
.ls-btn-next {
  background: #2C6FA5;
  color: #FFF;
}
.ls-btn-next:hover { background: #245A87; }
.ls-btn-prev {
  background: transparent;
  color: #888;
  border: 1px solid #CCC;
}
.ls-btn-prev:hover { color: #555; border-color: #999; }
/* v126: SCHEDULE button matches the brand navy used on every other "Next" button.
   Was green which broke the flow's color consistency right at conversion time. */
.ls-btn-schedule {
  background: #1B4E7E;
  color: #FFF;
  box-shadow: 0 2px 6px rgba(27, 78, 126, 0.3);
}
.ls-btn-schedule:hover { background: #14304D; }

.ls-btn-soft {
  background: transparent;
  border: 1px solid #CCC;
  color: #555;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
}
.ls-btn-soft:hover { background: #F0F0F0; }
.ls-btn-soft + .ls-btn-soft { margin-left: 4px; }

/* ===== Step 2 — When ===== */
.ls-when-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0 16px;
}
.ls-when-intro {
  margin: 0;
  font-size: 15px;
  color: #333;
}
.ls-field-inspector {
  flex: 0 0 240px;
  min-width: 200px;
}
.ls-inspector-picker {
  position: relative;
  display: block;
}
/* Trigger button — looks like an input field with the current pick's photo + name. */
.ls-inspector-picker-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 8px 8px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #BBB;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  color: #333;
  text-align: left;
}
.ls-inspector-picker-button:hover { border-bottom-color: #1B4E7E; }
.ls-inspector-picker-button[aria-expanded="true"] { border-bottom-color: #1B4E7E; }
.ls-inspector-picker-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-inspector-picker-caret {
  color: #888;
  font-size: 14px;
  flex-shrink: 0;
}
/* The photo next to the picker label — bigger than the inline review chip so
   customers actually see whose calendar they're filtering by. */
.ls-inspector-filter-avatar {
  width: 38px;
  height: 38px;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid #FFF;
  box-shadow: 0 1px 4px rgba(20, 48, 77, 0.18);
}
.ls-inspector-filter-avatar:empty {
  /* When "All Inspectors" is selected we collapse the photo to a small placeholder dot. */
  background: #E5EBF0;
  border: 2px solid #FFF;
}
.ls-inspector-filter-avatar:empty::after {
  content: "👥";
  font-size: 18px;
}

/* Popover menu */
.ls-inspector-picker-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #FFF;
  border: 1px solid #DDE3E8;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  z-index: 50;
  padding: 6px;
  max-height: 320px;
  overflow-y: auto;
}
.ls-inspector-picker-menu[hidden] { display: none; }
.ls-inspector-picker-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  color: #2A3744;
  text-align: left;
}
.ls-inspector-picker-option:hover,
.ls-inspector-picker-option[aria-selected="true"] {
  background: #F4F8FB;
}
.ls-inspector-picker-option-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #E5EBF0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1B4E7E;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid #FFF;
  box-shadow: 0 1px 3px rgba(20, 48, 77, 0.12);
}
.ls-inspector-picker-option-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ls-inspector-picker-option-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ls-inspector-picker-option-name {
  font-weight: 600;
}
.ls-inspector-picker-option-cred {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #2A4A66;
  font-weight: 500;
}
.ls-inspector-picker-option-cred-badge {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.ls-inspector-picker-option-cred-amount {
  color: #C68A1E;
  font-weight: 800;
  margin-left: 2px;
}
.ls-inspector-picker-option-check {
  color: #1B4E7E;
  font-weight: 700;
  font-size: 16px;
  opacity: 0;
  flex-shrink: 0;
}
.ls-inspector-picker-option[aria-selected="true"] .ls-inspector-picker-option-check { opacity: 1; }

/* Small CMI badge inline with the picker button label when a CMI is selected. */
.ls-inspector-picker-label-badge {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: text-bottom;
  margin-left: 4px;
}

/* Reusable gold credential pill — used on the review screen and anywhere
   we want a compact "🏅 CMI" indicator inline with a name. */
.ls-cred-pill {
  display: inline-block;
  background: linear-gradient(135deg, #E5B934 0%, #B68A1E 100%);
  color: #14304D;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 11px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  vertical-align: middle;
}
.ls-review-cred a { text-decoration: none; }
.ls-review-cred { margin-left: 6px; }

.ls-cal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.ls-cal-range {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  color: #333;
}

.ls-cal-status {
  margin: 4px 0 12px;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
}
.ls-cal-status.loading { background: #F4F8FB; color: #1B4E7E; font-style: italic; }
.ls-cal-status.warn    { background: #FFF8E1; border-left: 3px solid #F4A742; color: #6C5429; }
.ls-cal-status.err     { background: #FFF1EE; border-left: 3px solid #C0392B; color: #7B2E20; }
.ls-cal-status a { color: #1B4E7E; font-weight: 600; }

/* ===== Recommended-slots banner ===== */
/* Recommended banner = green (this is a savings banner, semantically the
   same as the cluster slots and the SAVE $50 pills inside it). Replaces the
   previous amber that was visually colliding with the CMI palette. */
.ls-recommended {
  background: linear-gradient(135deg, #EAFBEE 0%, #C4ECCB 100%);
  border: 1px solid #93D8A4;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 6px 0 14px;
  box-shadow: 0 2px 6px rgba(31, 92, 58, 0.08);
}
.ls-recommended-title {
  font-size: 14px;
  font-weight: 800;
  color: #14431F;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ls-recommended-sub {
  font-size: 13px;
  color: #2F614A;
  margin-bottom: 10px;
}
.ls-recommended-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ls-recommended-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #FFF;
  border: 1.5px solid #1F5C3A;
  color: #14431F;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.1s, color 0.1s, transform 0.1s;
  text-align: left;
}
.ls-recommended-chip:hover { background: #1F5C3A; color: #FFF; transform: translateY(-1px); }
.ls-recommended-chip-main {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}
.ls-recommended-chip-time { font-size: 14px; font-weight: 700; }
.ls-recommended-chip-sub {
  font-size: 11px;
  font-weight: 500;
  color: #2F614A;
  margin-top: 2px;
}
.ls-recommended-chip:hover .ls-recommended-chip-sub { color: #C4ECCB; }

/* CMI recommended chip variant — gold treatment to match the slot styling. */
.ls-recommended-chip.ls-recommended-chip-cmi {
  border-color: #C68A1E;
  background: linear-gradient(180deg, #FFFAEB 0%, #FFF1C4 100%);
  color: #5A4220;
}
.ls-recommended-chip.ls-recommended-chip-cmi:hover {
  background: #C68A1E;
  color: #FFF;
  transform: translateY(-1px);
}
.ls-recommended-chip-badge.ls-recommended-chip-badge-cmi {
  background: linear-gradient(135deg, #E5B934 0%, #B68A1E 100%);
  color: #14304D;
  box-shadow: 0 1px 3px rgba(20, 48, 77, 0.18);
}
.ls-recommended-chip.ls-recommended-chip-cmi:hover .ls-recommended-chip-badge {
  background: #FFF;
  color: #5A4220;
}

/* Loud savings badge — the headline benefit of picking this slot. */
.ls-recommended-chip-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #1F5C3A 0%, #14431F 100%);
  color: #FFF;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(20, 67, 31, 0.25);
  text-transform: uppercase;
}
.ls-recommended-chip-badge-icon { font-size: 14px; }
/* On hover, invert: white badge with green text so it still pops against the dark hover background. */
.ls-recommended-chip:hover .ls-recommended-chip-badge {
  background: #FFF;
  color: #14431F;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ls-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid #DDD;
  border-bottom: none;
}
.ls-cal-dow {
  background: #F8F8F8;
  border-right: 1px solid #DDD;
  border-bottom: 1px solid #DDD;
  text-align: center;
  padding: 10px 4px;
  font-weight: 700;
  color: #2C6FA5;
}
.ls-cal-dow:last-child { border-right: none; }
.ls-cal-day {
  border-right: 1px solid #DDD;
  border-bottom: 1px solid #DDD;
  min-height: 120px;
  padding: 6px 8px;
  position: relative;
}
.ls-cal-day:nth-child(7n) { border-right: none; }
.ls-cal-day-num {
  position: absolute;
  top: 6px;
  right: 8px;
  color: #2C6FA5;
  font-size: 14px;
}
.ls-cal-day.past {
  background-image: repeating-linear-gradient(45deg, #F0F0F0, #F0F0F0 6px, #FAFAFA 6px, #FAFAFA 12px);
  color: #999;
}
.ls-cal-day.today {
  background-image: repeating-linear-gradient(45deg, #C8F0B5, #C8F0B5 6px, #DFF7D2 6px, #DFF7D2 12px);
}
.ls-cal-day-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: #999;
  text-align: center;
  width: 80%;
}
.ls-cal-slots {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* Slot CARD (Neil 2026-05-31, Option C): time on top, a colored price strip
   across the bottom. Fixed width + always-present strip = every card the same
   size, so rows align into clean columns. Type is read from the strip color:
   blue/neutral = standard, green = savings, gold = master. */
.ls-cal-slot {
  width: 120px;
  box-sizing: border-box;
  border: 1px solid #E5E9EE;
  background: #FFF;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(20,48,77,.06);
  transition: box-shadow 0.12s, transform 0.12s, border-color 0.12s;
}
.ls-cal-slot:hover {
  box-shadow: 0 4px 12px rgba(20,48,77,.14);
  transform: translateY(-1px);
}
.ls-cal-slot-time {
  font-size: 15px;
  font-weight: 800;
  color: #14304D;
  padding: 12px 6px;
  text-align: center;
}
.ls-cal-slot-strip {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-align: center;
  padding: 5px 4px;
  white-space: nowrap;
}
.ls-cal-slot-strip-none { color: #6B7B86; background: #F4F6F8; font-weight: 600; }
.ls-cal-slot-strip-save { color: #FFF; background: #2E8B57; }
.ls-cal-slot-strip-cmi  { color: #FFF; background: #C68A1E; }
/* Selected = brand green ring + lift, regardless of type. */
.ls-cal-slot.selected {
  border-color: #1F5C3A;
  box-shadow: 0 0 0 2px #1F5C3A;
}
.ls-cal-slot.ls-cal-slot-cluster { border-color: #BfE6CC; }
.ls-cal-slot.ls-cal-slot-cmi { border-color: #E8CB85; }
/* CMI awareness callout — compact single-row hint above the calendar.
   Stays subtle: same gold family as the CMI slots themselves but light enough
   that it doesn't compete with the Recommended banner above it. */
.ls-cmi-callout {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 18px;
  margin: 6px 0 14px;
  background: #FCFAF4;
  border: 1px solid #E8DCBE;
  border-radius: 10px;
  color: #5A4A2E;
  font-size: 13px;
  line-height: 1.5;
}
.ls-cmi-callout[hidden] { display: none; }
.ls-cmi-callout-badge {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  margin-top: 1px;
}
.ls-cmi-callout-body { flex: 1; min-width: 0; }
.ls-cmi-callout-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #3A2E18;
  margin-bottom: 3px;
}
.ls-cmi-callout-title strong { font-weight: 800; }
.ls-cmi-callout-sub {
  display: block;
  color: #6B5C42;
  font-size: 12.5px;
}
.ls-cmi-callout-sub a { color: #1B4E7E; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ls-cmi-callout-sub a:hover { text-decoration: underline; }

/* (Old CMI/cluster slot-fill + badge rules removed with the Option C card
   redesign — the card's price strip now carries the type, so the body stays
   white and only the thin border + strip color differ. See .ls-cal-slot above.) */

.ls-cal-footnote {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  color: #555;
}
.ls-cal-footnote a {
  color: #2C6FA5;
  text-decoration: none;
}
.ls-cal-footnote a:hover { text-decoration: underline; }

/* ===== Step 4 — Review ===== */
.ls-review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 0 8px;
  margin-bottom: 8px;
}
.ls-review-left { flex: 1; }
.ls-review-right { text-align: right; }
.ls-review-addr {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}
.ls-review-date,
.ls-review-time,
.ls-review-duration {
  font-size: 17px;
  color: #333;
  line-height: 1.4;
}
.ls-review-inspector {
  font-size: 15px;
  color: #555;
  margin-top: 4px;
}
.ls-inspector-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}
.ls-inspector-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1B4E7E;
  color: #FFF;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
}
.ls-inspector-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* When an image actually loads, drop the blue fill — the photo provides its own background. */
.ls-inspector-avatar.ls-inspector-photo-loaded {
  background: #E5EBF0;
}

.ls-services-list { padding: 4px 0; }
.ls-service-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
}
.ls-price { font-weight: 500; }

.ls-total-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0 4px;
  border-top: 1px solid #EEE;
  margin-top: 4px;
}
.ls-total-label { font-size: 16px; font-weight: 700; }
.ls-total-amount { font-size: 18px; font-weight: 700; }

.ls-discount {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  padding: 12px 0 20px;
}
.ls-discount-icon { color: #888; font-size: 16px; }
.ls-discount input {
  border: none;
  border-bottom: 1px solid #BBB;
  padding: 4px 0;
  font-size: 14px;
  width: 200px;
  outline: none;
  background: transparent;
  font-family: inherit;
}
.ls-discount input::placeholder { font-style: italic; color: #999; }

/* ===== Google new PlaceAutocompleteElement ===== */
gmp-place-autocomplete, .ls-autocomplete {
  display: block;
  width: 100%;
  --gmp-mat-color-on-surface: #333;
  --gmp-mat-color-surface: transparent;
  --gmp-mat-color-outline: #BBB;
  --gmp-mat-color-primary: #1B4E7E;
}
/* v126: ensure long values in the autocomplete truncate with an ellipsis
   instead of cutting off mid-word on narrow mobile widths. */
gmp-place-autocomplete input,
.ls-autocomplete input {
  text-overflow: ellipsis !important;
  overflow: hidden;
  white-space: nowrap;
}

/* ===== Property details card ===== */
.ls-property-card {
  margin-top: 18px;
  padding: 16px 18px;
  background: #F4F8FB;
  border: 1px solid #DCE6EE;
  border-left: 3px solid #1B4E7E;
  border-radius: 3px;
}
.ls-property-card.loading {
  color: #1B4E7E;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ls-property-card.loading::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid #C4D7E6;
  border-top-color: #1B4E7E;
  border-radius: 50%;
  flex-shrink: 0;
  animation: ls-spin 0.7s linear infinite;
}
@keyframes ls-spin {
  to { transform: rotate(360deg); }
}
.ls-property-card.error {
  background: #FFF7F4;
  border-color: #EED9CF;
  border-left-color: #C0392B;
  color: #7B4936;
}
.ls-property-card h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #1B4E7E;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.ls-property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px 16px;
}
.ls-property-cell .ls-pc-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.5px;
}
.ls-property-cell .ls-pc-value {
  display: block;
  font-size: 15px;
  color: #222;
  font-weight: 500;
}
.ls-property-footnote {
  margin: 10px 0 0;
  font-size: 12px;
  color: #777;
  font-style: italic;
}

/* ===== Live price summary (shows once property records load) ===== */
.ls-price-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #E8F5EE 0%, #C4ECCB 100%);
  border-left: 4px solid #1F5C3A;
  border-radius: 8px;
}
.ls-price-summary[hidden] { display: none; }

/* ===== Manual-sqft prompt inside the property card (when records lack sqft) ===== */
.ls-sqft-prompt {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #C8D6E0;
}
.ls-sqft-prompt-label {
  display: block;
  font-size: 13px;
  color: #1B4E7E;
  font-weight: 600;
  margin-bottom: 6px;
}
.ls-sqft-prompt-hint {
  display: block;
  font-size: 12px;
  color: #6B7B86;
  margin-bottom: 8px;
}
.ls-sqft-prompt input {
  width: 180px;
  max-width: 100%;
  padding: 8px 10px;
  font-size: 15px;
  border: 1px solid #C8D6E0;
  border-radius: 6px;
  background: #fff;
}
.ls-sqft-prompt input:focus {
  outline: none;
  border-color: #1B4E7E;
  box-shadow: 0 0 0 3px rgba(27, 78, 126, 0.12);
}

/* ===== Friendly contact card (shown when public records lookup fails) ===== */
.ls-help-card {
  margin-top: 18px;
  padding: 18px 20px;
  background: #FFFAF2;
  border: 1px solid #F0DDB8;
  border-left: 3px solid #C68A1E;
  border-radius: 8px;
  color: #5A4220;
}
.ls-help-card h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #4A3614;
}
.ls-help-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
}
.ls-help-card .ls-help-or {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #E5E9EE;
  color: #6B7B86;
  font-size: 13.5px;
}
.ls-help-card .ls-help-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  font-size: 14px;
}
.ls-help-card .ls-help-contact a {
  color: #1B4E7E;
  font-weight: 600;
  text-decoration: none;
}
.ls-help-card .ls-help-contact a:hover { text-decoration: underline; }
.ls-help-card .ls-help-hours {
  margin-top: 8px;
  font-size: 13px;
  color: #7A5C2F;
  font-style: italic;
}
.ls-price-summary-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ls-price-summary-label {
  font-size: 13px;
  color: #14431F;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 600;
}
.ls-price-summary-sub {
  font-size: 13px;
  color: #2F614A;
}
.ls-price-summary-amount {
  font-size: 30px;
  font-weight: 800;
  color: #14431F;
  line-height: 1;
}

/* ===== Bundle savings banner (Step 1, above add-ons) =====
   Bold dark-green sales banner — deliberately loud so it doesn't get
   missed. Inverted treatment vs the lighter "Your Inspection $850"
   panel above (dark on light vs light on dark) so the two greens read
   as a hierarchy, not twins. */
.ls-savings-banner {
  background: linear-gradient(135deg, #1F5C3A 0%, #14431F 100%);
  border: none;
  border-radius: 12px;
  padding: 18px 28px;
  margin: 14px 0 16px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  box-shadow: 0 4px 14px rgba(20, 67, 31, 0.22);
}
.ls-savings-banner .ls-savings-title { font-size: 20px; }
.ls-savings-banner .ls-savings-tier  { font-size: 15px; }
.ls-savings-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ls-savings-title span[aria-hidden="true"] { font-size: 24px; }
.ls-savings-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  flex: 1;
}
.ls-savings-tier {
  background: #FFF;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 15px;
  color: #2F614A;
  border: none;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.ls-savings-tier strong { color: #14431F; font-weight: 800; }

/* ===== Suggestion dropdown (used by Agent autocomplete) ===== */
.ls-field-relative { position: relative; }
.ls-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #FFFFFF;
  border: 1px solid #DCE6EE;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
  margin-top: 2px;
}
.ls-suggestion-row {
  padding: 8px 14px;
  cursor: pointer;
  border-bottom: 1px solid #F2F4F6;
}
.ls-suggestion-row:last-child { border-bottom: none; }
.ls-suggestion-row:hover,
.ls-suggestion-row.active { background: #F4F8FB; }
.ls-suggestion-name { font-size: 14px; font-weight: 600; color: #2A3744; }
.ls-suggestion-meta { font-size: 12px; color: #888; margin-top: 1px; }
.ls-suggestions-loading,
.ls-suggestions-empty {
  padding: 10px 14px;
  font-size: 13px;
  color: #888;
  font-style: italic;
}

/* ===== Compact logistics dropdowns (Step 1) ===== */
.ls-logistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px 16px;
  margin-top: 4px;
}
/* Override the global .ls-field min-width so grid tracks govern sizing
   (otherwise each select overflows its column and the carets land mid-row). */
.ls-logistics-grid .ls-field {
  min-width: 0;
}

.ls-addons-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  /* Pulled higher so the line sits roughly centered between the Bundle & Save
     banner above and the popular-pill tops below (which already overhang ~10px). */
  margin-top: 0;
  margin-bottom: 22px;
  text-align: center;
}
.ls-addons-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.3px;
}
.ls-addons-reassure {
  font-size: 13px;
  color: #777;
  font-style: italic;
}
.ls-addons-callout {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  color: #555;
}
.ls-addons-callout a {
  color: #1B4E7E;
  font-weight: 600;
  text-decoration: none;
}
.ls-addons-callout a:hover { text-decoration: underline; }

/* ===== Add-ons list (Step 1) ===== */
.ls-addons-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 4px;
}
.ls-addon {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #DDE3E8;
  border-radius: 10px;
  cursor: pointer;
  background: #FFF;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s, transform 0.1s;
  position: relative;
}
.ls-addon-popular {
  /* Card border stays the same neutral as the rest — only the pill above
     signals "most popular". Keeps the row visually consistent so the popular
     three don't look like a different breed of card. */
}
.ls-addon-pop-badge {
  position: absolute;
  top: -10px;
  left: 0;
  background: linear-gradient(135deg, #F4A742 0%, #E5891F 100%);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(229, 137, 31, 0.25);
  white-space: nowrap;
}
.ls-addon:hover {
  border-color: #2C6FA5;
  box-shadow: 0 2px 6px rgba(44, 111, 165, 0.12);
  transform: translateY(-1px);
}
.ls-addon input { margin: 0; flex-shrink: 0; }
.ls-addon:has(input:checked) {
  border-color: #1F5C3A;
  background: linear-gradient(180deg, #F2FAF5 0%, #E8F5EE 100%);
  box-shadow: inset 0 0 0 1px #1F5C3A, 0 1px 4px rgba(31, 92, 58, 0.12);
}
.ls-addon-icon {
  font-size: 22px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F4F8FB;
  border-radius: 8px;
  flex-shrink: 0;
}
.ls-addon:has(input:checked) .ls-addon-icon {
  background: #FFF;
}
/* Sewer scope: the 🚽 emoji is white porcelain — washes out on light-blue
   background. Darken just this tile's icon-box so the white toilet pops. */
.ls-addon:has(input[data-addon-id="sewer"]) .ls-addon-icon {
  background: #14304D;
}
.ls-addon:has(input[data-addon-id="sewer"]:checked) .ls-addon-icon {
  background: #1B4E7E;
}
.ls-addon-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ls-addon-name { font-size: 15px; font-weight: 600; color: #2A3744; }
.ls-addon-blurb {
  font-size: 12px;
  color: #777;
  margin-top: 3px;
  /* Safety net so any future overly-long blurb doesn't blow up the tile —
     clamps to 2 lines and trails an ellipsis. Keep blurbs short anyway. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

/* Recommendation pill — anchored flush to the upper-left corner of the tile
   (left: 0) so it reads as a corner stamp on the card. Lives ABOVE the top
   border, overhanging into the gap between tiles. */
.ls-addon-rec-pill {
  position: absolute;
  top: -10px;
  left: 0;
  z-index: 1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
  color: #FFF;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.ls-addon-rec-pill.ls-addon-rec-required {
  background: linear-gradient(135deg, #1B4E7E 0%, #14304D 100%);
}
.ls-addon-rec-pill.ls-addon-rec-recommended {
  background: linear-gradient(135deg, #1F5C3A 0%, #14431F 100%);
}
/* v128: the v127 right-side override is no longer needed. When a tile has
   both popular AND a recommendation pill, the renderer now suppresses the
   MOST POPULAR badge (stronger rec pill wins). So the rec pill always sits
   alone at top-left. Rule removed; left here as a comment for traceability. */
/* The "(because you have a well)" italic line — sits inside the card body
   directly under the title. Explains WHY the recommendation fired. */
.ls-addon-rec-reason {
  font-size: 11px;
  font-style: italic;
  color: #6B7B86;
  margin-top: 2px;
}
/* Recommended tiles get a thin colored border so they stand out from
   neighbors even at a glance. */
.ls-addon.ls-addon-recommended { border-color: #1B4E7E; }
.ls-addon-price {
  font-size: 15px;
  font-weight: 700;
  color: #1B4E7E;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
  max-width: 80px;   /* prevent long pending text from squeezing the body */
}
/* "Call for pricing" replaces the $ amount for add-ons whose price depends on
   info the office needs to confirm (e.g. Lead Paint over 4,000 sqft).
   `white-space: normal` overrides the parent's nowrap so the text can break
   onto a second line WITHIN the fixed-width column — no body squeeze. */
.ls-addon-price-pending {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #C68A1E;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  white-space: normal;
}
.ls-pl-amt.ls-pl-pending {
  color: #C68A1E;
  font-weight: 700;
  font-size: 12px;
  font-style: italic;
}
/* Disabled add-on card — applies e.g. when Lead Paint is selected against a
   post-1978 home. Card stays visible (so the customer sees the service exists)
   but the checkbox is uncheckable and the body fades. */
.ls-addon.ls-addon-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #F8F9FA;
}
.ls-addon.ls-addon-disabled input { cursor: not-allowed; }
.ls-addon-price-na {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #6B7B86;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  white-space: normal;     /* wrap inside the column instead of overflowing */
}

.ls-bundle-hint {
  margin: 6px 0 18px;
  padding: 18px 24px;
  background: #FFF8E1;
  border-left: 4px solid #F4A742;
  color: #6C5429;
  font-size: 17px;
  border-radius: 6px;
  text-align: center;
}
.ls-bundle-hint-on {
  background: linear-gradient(135deg, #DFF7E5 0%, #B6E8C0 100%);
  border-left: 5px solid #1F5C3A;
  color: #14431F;
  font-size: 20px;
  font-weight: 600;
  padding: 22px 28px;
  box-shadow: 0 2px 8px rgba(31, 92, 58, 0.15);
}
.ls-bundle-hint-on strong { font-size: 24px; }

/* ===== Pricing breakdown (Step 4) ===== */
/* v126 (#11): Step 4 pricing list now lives in a subtle card with a tinted
   background, framed by a thin border + corner radius. Communicates "this is
   what you're about to spend" with more visual weight than a raw list. */
.ls-pricing-breakdown {
  padding: 12px 16px;
  background: #F4F8FB;
  border: 1px solid #E5E9EE;
  border-radius: 8px;
  margin: 8px 0 0;
}
.ls-pl-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: #14304D;
  border-bottom: 1px solid #D6E3F0;
}
.ls-pl-line:last-child { border-bottom: none; }
.ls-pl-discount {
  color: #1F5C3A;
  font-weight: 500;
}
.ls-pl-label { flex: 1; padding-right: 12px; }
.ls-pl-amt { font-weight: 500; white-space: nowrap; }

/* ===== Discount code status ===== */
.ls-discount-status {
  font-size: 12px;
  font-weight: 500;
  margin-left: 10px;
}
.ls-discount-status.ok  { color: #1F5C3A; }
.ls-discount-status.err { color: #C0392B; }

/* ===== Validation errors ===== */
.ls-field-error,
input.ls-field-error,
select.ls-field-error,
textarea.ls-field-error {
  border-color: #C0392B !important;
  border-bottom-color: #C0392B !important;
  background-color: #FFF5F3;
}
.ls-field-error-msg {
  color: #C0392B;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
}
.ls-field-error-msg::before {
  content: "⚠ ";
}

/* Top-of-step banner — fires when validation blocks Next/Schedule. Loud on purpose. */
.ls-form-error-banner {
  background: #FDECEA;
  border: 1px solid #F5C7BF;
  border-left: 4px solid #C0392B;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 0 18px;
  color: #7B2418;
}
.ls-form-error-banner[hidden] { display: none; }
.ls-form-error-banner-bottom { margin: 18px 0 8px; }
.ls-form-error-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: #7B2418;
  margin-bottom: 4px;
}
.ls-form-error-banner-list {
  margin: 6px 0 0;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
}

/* ===== Thank-you screen (Step 5) ===== */
.ls-step-thanks { padding: 60px 0 40px; }
.ls-thanks-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.ls-thanks-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #1F5C3A;
  color: #FFF;
  font-size: 36px;
  margin: 0 auto 20px;
}
.ls-thanks-card h2 {
  margin: 0 0 22px;
  font-size: 26px;
  color: #1B4E7E;
}
.ls-thanks-card p {
  font-size: 15px;
  color: #555;
  margin: 6px 0;
}
.ls-thanks-secondary { color: #666 !important; }

/* ===== Prominent booking-details summary on the confirmation screen ===== */
.ls-booking-summary {
  max-width: 480px;
  margin: 0 auto 26px;
  padding: 26px 28px;
  background: linear-gradient(180deg, #F5FAFE 0%, #ECF3FA 100%);
  border: 1px solid #D6E3F0;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(27, 78, 126, 0.06);
  text-align: center;
}
.ls-booking-when {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ls-booking-date {
  font-size: 22px;
  font-weight: 700;
  color: #14304D;
  line-height: 1.2;
}
.ls-booking-time {
  font-size: 28px;
  font-weight: 800;
  color: #1B4E7E;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.ls-booking-divider {
  height: 1px;
  background: #D6E3F0;
  margin: 16px 0;
}
.ls-booking-address {
  font-size: 17px;
  font-weight: 600;
  color: #14304D;
  line-height: 1.35;
}
.ls-booking-inspector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 16px;
  color: #2A4A66;
}
.ls-booking-inspector-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.ls-booking-inspector-label {
  color: #6B7B86;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 600;
}
.ls-booking-inspector-name {
  font-size: 18px;
  font-weight: 700;
  color: #14304D;
  margin-top: 2px;
}
.ls-booking-inspector-cred {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #2A4A66;
}
.ls-booking-inspector-cred[hidden] { display: none; }
.ls-booking-inspector-cred a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #2A4A66;
  text-decoration: none;
}
.ls-booking-inspector-cred a:hover { color: #1B4E7E; text-decoration: underline; }
.ls-booking-inspector-cred-badge { width: 18px; height: 18px; flex-shrink: 0; }
/* v132: Google Street View hero image of the property at the top of the
   confirmation card. Loaded by widget.js on Step-5 render; hidden by JS if
   Street View has no coverage. Full-bleed across the card, with rounded
   top corners that match the card itself. */
.ls-booking-streetview {
  display: block;
  /* The booking-summary card has 26px top + 28px sides padding. Use negative
     margins to push the image to the card edge so it reads as a hero. */
  width: calc(100% + 56px);
  margin: -26px -28px 18px;
  max-width: none;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  background: #E5E9EE;
}
/* Estimate row on the Step 5 confirmation card (v102) */
.ls-booking-estimate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.ls-booking-estimate-label {
  color: #6B7B86;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 600;
}
.ls-booking-estimate-value {
  font-size: 26px;
  font-weight: 800;
  color: #1B4E7E;
  letter-spacing: 0.3px;
}
/* Large avatar variant used on the confirmation card */
.ls-inspector-avatar-lg {
  width: 72px !important;
  height: 72px !important;
  font-size: 26px !important;
  font-weight: 700;
  border: 2px solid #FFF;
  box-shadow: 0 2px 8px rgba(20, 48, 77, 0.12);
}

/* ===== "Pricing may vary" disclaimer on the confirmation screen ===== */
.ls-pricing-disclaimer {
  max-width: 520px;
  margin: 0 auto 22px;
  padding: 16px 20px;
  background: #FFFAF2;
  border: 1px solid #F0DDB8;
  border-left: 3px solid #C68A1E;
  border-radius: 10px;
  text-align: left;
}
.ls-pricing-disclaimer-title {
  font-size: 15px;
  font-weight: 700;
  color: #5A4220;
  margin-bottom: 6px;
}
.ls-pricing-disclaimer p {
  font-size: 14px !important;
  color: #5A4220 !important;
  margin: 6px 0 !important;
  line-height: 1.45;
}
.ls-pricing-disclaimer strong { color: #3F2E11; }
/* Confirmed (quote already vetted) — green instead of amber. */
.ls-pricing-disclaimer.ls-pricing-disclaimer-ok {
  background: #EAF5EE;
  border-color: #B7D9C2;
  border-left-color: #1F5C3A;
}
.ls-pricing-disclaimer.ls-pricing-disclaimer-ok .ls-pricing-disclaimer-title { color: #1F5C3A; }
.ls-pricing-disclaimer.ls-pricing-disclaimer-ok p { color: #2C5E40 !important; }
.ls-thanks-note {
  margin-top: 24px !important;
  padding: 10px 14px;
  background: #FFF8E1;
  border-left: 3px solid #F4A742;
  color: #6C5429 !important;
  font-size: 13px;
}

/* ===== v124 — bottom Earlier/Later pagination for the list view ===== */
.ls-cal-bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px 4px;
  gap: 12px;
}
.ls-cal-bottom-nav .ls-btn-soft {
  flex: 1;
  max-width: 220px;
}

/* ===== v121 list-view calendar — replaces the 7-column grid =====
   Vertical day-by-day list. Each row = one day with its slot buttons inline.
   Empty days show "No available times" deliberately (signals demand). */
.ls-day-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #E5E9EE;
  margin: 12px 0 0;
}
.ls-day-row {
  display: flex;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid #E5E9EE;
  gap: 16px;
}
.ls-day-label {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.ls-day-dow {
  font-size: 11.5px;
  color: #6B7B86;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}
.ls-day-num {
  font-size: 22px;
  font-weight: 700;
  color: #14304D;
  margin-top: 2px;
}
.ls-day-month {
  font-size: 12.5px;
  color: #6B7B86;
  margin-top: 1px;
}
.ls-day-row-weekend .ls-day-dow { color: #C68A1E; }
.ls-day-slots {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;            /* gap BETWEEN morning & afternoon zones */
  align-items: flex-start;
}
/* Morning / Afternoon zone (Neil 2026-05-31): keeps AM on the left, PM on the
   right in every row so the eye doesn't re-scan. The Morning zone reserves a
   fixed width (two 120px cards + 8px gap = 248px) so the Afternoon column starts
   at the SAME x on every row — lines up down the page even when a morning has
   just one card. */
.ls-day-zone { display: flex; flex-direction: column; gap: 5px; }
.ls-day-zone:first-child { min-width: 248px; }
.ls-day-zone-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #9AA6B0;
}
.ls-day-zone-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;            /* gap between cards WITHIN a zone */
  align-items: flex-start;
}
.ls-day-empty {
  color: #B2BDC6;
  font-style: italic;
  font-size: 14px;
}

/* v121: Show the live price summary on Step 1 by default (was hidden).
   The element starts visible now; widget.js can still hide it before property
   records load if needed via the .ls-price-summary[hidden] override above. */

/* ===== Responsive ===== */
@media (max-width: 720px) {
  body { padding: 16px 8px; }
  .ls-widget { padding: 20px 16px; }
  /* v121 mobile header shrink — was eating ~1/3 of first screen. */
  .ls-logo { max-width: 140px; }
  .ls-header { padding-bottom: 8px; gap: 2px; }
  .ls-header h1 { font-size: 20px; margin: 2px 0 0; }
  .ls-header-sub { font-size: 12.5px; margin: 2px auto 0; }
  /* Progress: keep horizontal but tighter */
  .ls-progress { padding: 10px 0; }
  .ls-progress ol { flex-direction: row; gap: 4px; justify-content: space-around; }
  .ls-progress li { font-size: 11px; gap: 6px; }
  .ls-step-num { width: 22px; height: 22px; font-size: 12px; }
  .ls-row { flex-direction: column; }
  .ls-field { min-width: 0; width: 100%; }
  .ls-when-header { flex-direction: column; }
  .ls-review-top { flex-direction: column; }
  .ls-review-right { text-align: left; }
  /* List-view calendar: tighten day-label width, allow slots to wrap */
  .ls-day-label { flex: 0 0 88px; }
  .ls-day-num { font-size: 18px; }
  .ls-day-row { padding: 12px 2px; gap: 10px; }
  /* Slightly narrower cards on mobile so 2-3 fit per row; keep the card's own
     internal padding (don't override it). */
  .ls-cal-slot { width: 96px; }
  .ls-cal-slot-time { font-size: 14px; padding: 10px 6px; }
  /* Drop the reserved morning width on mobile (two 96px cards) + tighten the
     zone gap so things still fit. */
  .ls-day-zone:first-child { min-width: 200px; }
  .ls-day-slots { gap: 16px; }
}
