/* Only the survey image is muted. Simulated ground shadows and editable models
   sit above the photo so recorded shadows can be distinguished from the study. */
#map-canvas[data-sun-basemap="satellite"] .aerial-ground::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 247, 236, .38);
  pointer-events: none;
}
#tool-panel.sun-study-open {
  width: 354px;
  max-width: min(100%, calc(100vw - 28px));
  background: #ffffff;
  border: 1px solid #8b96a2;
  border-top: 3px solid #aa6334;
  box-shadow: 0 3px 18px #151e2935;
}
.sun-study-open .tool-heading h2 { font-size: 20px; }
.sun-study-open .tool-heading button { font: 20px/1 var(--sans); padding: 2px 5px; }
.sun-study-open .tool-fields { gap: 7px; }
.sun-schedule, .sun-readings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.sun-schedule label { min-width: 118px; }
.sun-schedule label span, .sun-clock > span {
  display: block;
  color: #4e5965;
  font: 600 12px/1.3 var(--sans);
}
.sun-schedule input { width: 100%; height: 30px; font-size: 13px; }
.sun-time {
  display: block;
  margin-top: 2px;
  font: 650 clamp(19px, 2.1vw, 24px)/1.3 var(--sans);
  font-variant-numeric: tabular-nums;
  color: #223040;
}
.sun-study-open input[type="range"] {
  display: block;
  height: 22px;
  margin: 0;
  cursor: pointer;
}
.sun-readings { font: 550 13px/1.3 var(--sans); }
.sun-readings span:last-child { color: #4e5965; }
.sun-legend { color: #244d8e; font: 600 13px/1.3 var(--sans); }
.sun-legend::before {
  content: "";
  display: inline-block;
  margin-right: 7px;
  width: 12px;
  height: 10px;
  background: #2158a8;
  border-radius: 2px;
}
.sun-study-open .sun-note { font: 12px/1.3 var(--sans); color: #4d5660; margin: 0; }
@media (max-width: 680px) {
  #tool-panel.sun-study-open { width: min(330px, calc(100vw - 28px)); }
}
