.weather-scheduler-strip {
  margin: 14px 0 18px;
  padding: 14px;
  border: 1px solid rgba(47, 111, 24, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(247, 252, 244, 0.96), rgba(255,255,255,0.96));
  box-shadow: 0 8px 24px rgba(18, 49, 12, 0.08);
}

.weather-scheduler-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 10px;
}

.weather-scheduler-head strong {
  color: #245c18;
  font-size: 0.98rem;
}

.weather-scheduler-head span {
  color: #55705a;
  font-size: 0.82rem;
}

.weather-scheduler-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(86px, 1fr));
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.weather-day-card {
  min-width: 86px;
  border: 1px solid rgba(22, 61, 18, 0.12);
  border-radius: 14px;
  padding: 9px 8px;
  text-align: center;
  background: #fff;
}

.weather-day-name {
  font-weight: 800;
  color: #25491f;
  font-size: 0.82rem;
}

.weather-day-date {
  color: #6a786a;
  font-size: 0.72rem;
  margin-top: 1px;
}

.weather-day-icon {
  font-size: 1.45rem;
  line-height: 1;
  margin: 7px 0 5px;
}

.weather-day-temp {
  font-weight: 800;
  font-size: 0.95rem;
}

.weather-day-rain,
.weather-day-risk {
  font-size: 0.72rem;
  color: #607060;
}

.weather-risk-low {
  border-color: rgba(70, 140, 50, 0.25);
}

.weather-risk-medium {
  border-color: rgba(214, 157, 37, 0.42);
  background: #fffaf0;
}

.weather-risk-high {
  border-color: rgba(190, 63, 45, 0.38);
  background: #fff5f2;
}

@media (max-width: 760px) {
  .weather-scheduler-head {
    display: block;
  }

  .weather-scheduler-row {
    display: flex;
  }

  .weather-day-card {
    flex: 0 0 92px;
  }
}


.weather-day-select {
  margin-top: 8px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #24451f;
  cursor: pointer;
}

.weather-day-select input {
  width: 16px;
  height: 16px;
  accent-color: #3f7f29;
}

.weather-day-card:has(.weather-day-select input:checked) {
  outline: 2px solid rgba(63, 127, 41, 0.75);
  box-shadow: 0 8px 18px rgba(63, 127, 41, 0.18);
}

.weather-days-source-hidden {
  display: none !important;
}

.weather-scheduler-head strong {
  text-transform: none;
}


/* Weather card checkbox cleanup */
.weather-day-select {
  font-size: 0 !important;
  line-height: 1 !important;
  margin-top: 8px !important;
}

.weather-day-select input {
  font-size: initial !important;
  margin: 0 !important;
}


/* Weather selectable cards */
.weather-day-card {
  cursor: pointer;
}

.weather-card-checkbox {
  display: block;
  width: 17px;
  height: 17px;
  margin: 8px auto 0;
  accent-color: #3f7f29;
}

.weather-day-card:has(.weather-card-checkbox:checked) {
  outline: 2px solid rgba(63, 127, 41, 0.75);
  box-shadow: 0 8px 18px rgba(63, 127, 41, 0.18);
}

.weather-days-source-hidden {
  display: none !important;
}

.weather-day-card {
  cursor: pointer;
}

.weather-day-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}


/* Give weather cards room so outlines/shadows don't get clipped */
.weather-scheduler-strip {
  overflow: visible !important;
  padding: 16px 16px 18px !important;
}

.weather-scheduler-row {
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding: 4px 4px 10px !important;
  margin: 0 -4px !important;
}

.weather-day-card {
  margin: 2px 0 !important;
}


/* Stronger mow condition borders + colors */
.weather-risk-low {
  border: 2px solid #3f7f29 !important;
  background: #f4fff2 !important;
}

.weather-risk-medium {
  border: 2px solid #d49d25 !important;
  background: #fff8e6 !important;
}

.weather-risk-high {
  border: 2px solid #be3f2d !important;
  background: #fff1ef !important;
}


/* Sleeker "tech glow" mow condition styling */
.weather-day-card {
  border: 1px solid rgba(0,0,0,0.08) !important;
  position: relative;
  transition: all 0.2s ease;
}

/* LOW (good) */
.weather-risk-low {
  border-color: #3aff6a !important;
  box-shadow:
    0 0 6px rgba(58, 255, 106, 0.35),
    0 0 12px rgba(58, 255, 106, 0.15);
  background: linear-gradient(180deg, #f8fff9, #ffffff) !important;
}

/* MEDIUM */
.weather-risk-medium {
  border-color: #ffc83a !important;
  box-shadow:
    0 0 6px rgba(255, 200, 58, 0.35),
    0 0 12px rgba(255, 200, 58, 0.15);
  background: linear-gradient(180deg, #fffdf5, #ffffff) !important;
}

/* HIGH */
.weather-risk-high {
  border-color: #ff5a4a !important;
  box-shadow:
    0 0 6px rgba(255, 90, 74, 0.35),
    0 0 12px rgba(255, 90, 74, 0.15);
  background: linear-gradient(180deg, #fff7f6, #ffffff) !important;
}

/* Hover polish */
.weather-day-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}


/* Slimmer cards + thinner glow */

.weather-day-card {
  padding: 6px 6px !important;
  min-height: auto !important;
  border-width: 1px !important;
}

/* tighten spacing inside */
.weather-day-name {
  font-size: 0.75rem !important;
}

.weather-day-date {
  font-size: 0.68rem !important;
}

.weather-day-icon {
  font-size: 1.25rem !important;
  margin: 4px 0 !important;
}

.weather-day-temp {
  font-size: 0.85rem !important;
}

.weather-day-rain,
.weather-day-risk {
  font-size: 0.68rem !important;
}

/* tone down glow just a bit */
.weather-risk-low {
  box-shadow:
    0 0 4px rgba(58, 255, 106, 0.28),
    0 0 8px rgba(58, 255, 106, 0.12) !important;
}

.weather-risk-medium {
  box-shadow:
    0 0 4px rgba(255, 200, 58, 0.28),
    0 0 8px rgba(255, 200, 58, 0.12) !important;
}

.weather-risk-high {
  box-shadow:
    0 0 4px rgba(255, 90, 74, 0.28),
    0 0 8px rgba(255, 90, 74, 0.12) !important;
}


/* Slightly larger weather icons */
.weather-day-icon {
  font-size: 1.55rem !important;
  margin: 6px 0 !important;
}



/* SVG weather icons */
.weather-day-icon {
  display: flex !important;
  justify-content: center;
  align-items: center;
  min-height: 34px;
}

.weather-day-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.14));
}

/* Weather icon contrast badge */
.weather-day-icon {
  width: 42px !important;
  height: 42px !important;
  margin: 6px auto 5px !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.28), transparent 38%),
    linear-gradient(145deg, rgba(32, 70, 48, 0.92), rgba(17, 36, 31, 0.92)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 4px 10px rgba(18, 49, 28, 0.20) !important;
}

.weather-day-icon img {
  width: 34px !important;
  height: 34px !important;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35)) !important;
}


/* Weather icon contrast badge */
.weather-day-icon {
  width: 42px !important;
  height: 42px !important;
  margin: 6px auto 5px !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.28), transparent 38%),
    linear-gradient(145deg, rgba(32, 70, 48, 0.92), rgba(17, 36, 31, 0.92)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 4px 10px rgba(18, 49, 28, 0.20) !important;
}

.weather-day-icon img {
  width: 34px !important;
  height: 34px !important;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35)) !important;
}


/* Improved icon visibility (rain-friendly) */
.weather-day-icon {
  width: 42px !important;
  height: 42px !important;
  margin: 6px auto 5px !important;
  border-radius: 12px !important;

  /* lighter glass background */
  background: linear-gradient(
    145deg,
    rgba(240, 255, 245, 0.9),
    rgba(220, 240, 255, 0.9)
  ) !important;

  border: 1px solid rgba(0,0,0,0.08) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 3px 8px rgba(0,0,0,0.08) !important;
}

.weather-day-icon img {
  width: 34px !important;
  height: 34px !important;

  /* boost visibility without killing colors */
  filter:
    brightness(1.08)
    contrast(1.15)
    drop-shadow(0 1px 2px rgba(0,0,0,0.18)) !important;
}


/* Light grey icon background (balanced visibility) */
.weather-day-icon {
  width: 42px !important;
  height: 42px !important;
  margin: 6px auto 5px !important;
  border-radius: 12px !important;

  background: linear-gradient(
    145deg,
    #f1f3f5,
    #dfe3e8
  ) !important;

  border: 1px solid rgba(0,0,0,0.06) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 2px 5px rgba(0,0,0,0.06) !important;
}

.weather-day-icon img {
  width: 35px !important;
  height: 35px !important;

  /* keep icons natural but slightly clearer */
  filter:
    contrast(1.05)
    drop-shadow(0 1px 2px rgba(0,0,0,0.22)) !important;
}

/* Compact mobile-weather forecast strip */
.weather-scheduler-strip {
  padding: 12px 12px 14px !important;
}

.weather-scheduler-row,
body[data-active-view="quote"] .quote-app .weather-scheduler-row {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(58px, 66px)) !important;
  justify-content: start;
  gap: 6px !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  padding: 3px 3px 8px !important;
  margin: 0 -3px !important;
}

.weather-day-card,
body[data-active-view="quote"] .quote-app .weather-day-card {
  width: 100%;
  min-width: 0 !important;
  max-width: 66px;
  padding: 6px 3px 7px !important;
  gap: 1px !important;
  border-radius: 8px !important;
}

.weather-day-name {
  font-size: 0.74rem !important;
  line-height: 1.05;
}

.weather-day-date {
  font-size: 0.64rem !important;
  line-height: 1.05;
  margin-top: 0 !important;
}

.weather-day-icon {
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 4px auto 3px !important;
  border-radius: 10px !important;
}

.weather-day-icon img {
  width: 31px !important;
  height: 31px !important;
}

.weather-day-temp {
  font-size: 0.82rem !important;
  line-height: 1.05;
}

.weather-day-rain,
.weather-day-risk {
  font-size: 0.63rem !important;
  line-height: 1.05;
}

.weather-card-checkbox {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip-path: inset(50%) !important;
}

@media (max-width: 760px) {
  .weather-scheduler-row,
  body[data-active-view="quote"] .quote-app .weather-scheduler-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .weather-day-card,
  body[data-active-view="quote"] .quote-app .weather-day-card {
    flex: initial !important;
    max-width: none;
  }
}

/* Preferred Days forecast tile refinement: icon-focused selectable cards. */
.weather-day-card,
body[data-active-view="quote"] .quote-app .weather-day-card {
  display: grid !important;
  justify-items: center;
  align-content: start;
  gap: 2px !important;
  min-height: 98px !important;
  padding: 6px 4px 7px !important;
  background: #fff !important;
  border-color: rgba(22, 61, 18, 0.12) !important;
  box-shadow: none !important;
}

.weather-day-card::before,
.weather-day-card::after,
body[data-active-view="quote"] .quote-app .weather-day-card::before,
body[data-active-view="quote"] .quote-app .weather-day-card::after {
  content: none !important;
  display: none !important;
}

.weather-day-temp,
.weather-day-risk,
.weather-day-rain {
  display: none !important;
}

.weather-day-condition {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: #516350;
  font-size: 0.6rem !important;
  font-weight: 700;
  line-height: 1.12;
  white-space: normal;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.weather-day-icon {
  width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 3px auto 2px !important;
}

.weather-day-icon img {
  width: 36px !important;
  height: 36px !important;
}

.weather-day-card.selected,
.weather-day-card:has(.weather-card-checkbox:checked),
body[data-active-view="quote"] .quote-app .weather-day-card.selected,
body[data-active-view="quote"] .quote-app .weather-day-card:has(.weather-card-checkbox:checked) {
  border-color: #2f6f18 !important;
  background: #edf8e9 !important;
  box-shadow: inset 0 0 0 1px rgba(47, 111, 24, 0.16) !important;
  filter: none !important;
  outline: 0 !important;
}

@media (max-width: 760px) {
  .weather-day-card,
  body[data-active-view="quote"] .quote-app .weather-day-card {
    min-height: 98px !important;
  }
}

/* 7-card single-row forecast strip — responsive scaling, no wrap. */
.weather-scheduler-strip {
  border-radius: 8px !important;
  background: #f7fbf4 !important;
  box-shadow: 0 10px 24px rgba(31, 39, 28, 0.08) !important;
}

.weather-scheduler-head {
  align-items: flex-start;
}

.weather-scheduler-head strong {
  color: #244d1c !important;
}

/* Always 7 equal columns — cards shrink via clamp, never wrap. */
.weather-scheduler-row,
body[data-active-view="quote"] .quote-app .weather-scheduler-row {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: clamp(4px, 0.7vw, 10px) !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.weather-day-card,
body[data-active-view="quote"] .quote-app .weather-day-card {
  max-width: none !important;
  min-width: 0 !important;
  min-height: auto !important;
  padding: clamp(6px, 0.9vw, 10px) clamp(3px, 0.5vw, 8px) !important;
  border: 1px solid rgba(42, 67, 32, 0.16) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #1f271c !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.weather-day-card:hover,
body[data-active-view="quote"] .quote-app .weather-day-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(31, 39, 28, 0.1) !important;
  filter: none !important;
}

.weather-day-name {
  font-size: clamp(0.62rem, 1vw, 0.82rem) !important;
}

.weather-day-date {
  font-size: clamp(0.56rem, 0.85vw, 0.72rem) !important;
}

.weather-day-icon,
body[data-active-view="quote"] .quote-app .weather-day-icon {
  width: clamp(30px, 3.5vw, 46px) !important;
  height: clamp(30px, 3.5vw, 46px) !important;
  min-height: clamp(30px, 3.5vw, 46px) !important;
  border-radius: 8px !important;
  background: #eef7eb !important;
}

.weather-day-icon img {
  width: clamp(24px, 2.8vw, 38px) !important;
  height: clamp(24px, 2.8vw, 38px) !important;
}

.weather-day-condition {
  color: #3d6826 !important;
  font-size: clamp(0.54rem, 0.75vw, 0.72rem) !important;
  line-height: 1.15 !important;
}

.weather-day-card.selected,
.weather-day-card:has(.weather-card-checkbox:checked),
body[data-active-view="quote"] .quote-app .weather-day-card.selected,
body[data-active-view="quote"] .quote-app .weather-day-card:has(.weather-card-checkbox:checked) {
  border-color: #2f6f18 !important;
  background: #e7f5df !important;
  box-shadow: 0 0 0 2px rgba(47, 111, 24, .16), 0 12px 26px rgba(31, 39, 28, .1) !important;
}

.weather-day-card::before,
.weather-day-card::after {
  content: none !important;
}

/* Tablet: keep all 7 on one row, tighter gap */
@media (max-width: 760px) {
  .weather-scheduler-row,
  body[data-active-view="quote"] .quote-app .weather-scheduler-row {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: clamp(3px, 0.9vw, 6px) !important;
  }

  .weather-day-card,
  body[data-active-view="quote"] .quote-app .weather-day-card {
    min-height: auto !important;
  }
}

/* Very narrow phones: allow horizontal scroll rather than squishing below 44px */
@media (max-width: 400px) {
  .weather-scheduler-row,
  body[data-active-view="quote"] .quote-app .weather-scheduler-row {
    overflow-x: auto !important;
    padding-bottom: 6px !important;
  }

  .weather-day-card,
  body[data-active-view="quote"] .quote-app .weather-day-card {
    min-width: 44px !important;
  }
}
