#sunMapPage .main-content {
  grid-template-columns: 1fr !important;
}

#sunMapPage .card {
  width: 100%;
}

#sunMapRoot {
  color: #111318;
}

.sunmap-shell {
  display: grid;
  gap: 14px;
}

.sunmap-controls {
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.98));
  border-radius: 8px;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.sunmap-location-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.sunmap-kicker {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.sunmap-address {
  margin-top: 3px;
  color: #111318;
  font-weight: 900;
  line-height: 1.25;
}

.sunmap-location-actions {
  flex: 0 0 auto;
}

.sunmap-location-actions .fy-btn {
  min-height: 38px;
  white-space: nowrap;
}

.sunmap-control-grid {
  display: grid;
  grid-template-columns: minmax(132px, 0.76fr) minmax(118px, 0.7fr) minmax(118px, 0.7fr) auto;
  gap: 10px;
  align-items: end;
}

.sunmap-control-grid .fy-field {
  min-width: 0;
  margin: 0;
}

.sunmap-control-grid input,
.sunmap-control-grid select {
  min-height: 40px;
}

.sunmap-button-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sunmap-button-row .fy-btn {
  min-height: 40px;
  white-space: nowrap;
}

.sunmap-month-field {
  width: min(100%, 760px);
  margin: 0 auto;
}

.sunmap-month-range {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.sunmap-month-label {
  margin: 0 0 6px;
  color: #111318;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.sunmap-month-dial {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.96)),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 8px;
}

.sunmap-month-dial::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.82);
  pointer-events: none;
}

.sunmap-month-nav {
  width: 40px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: #111318;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
}

.sunmap-month-window {
  position: relative;
  height: 64px;
  overflow: hidden;
  scrollbar-width: none;
  perspective: 420px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.sunmap-month-window.is-dragging {
  cursor: grabbing;
}

.sunmap-month-window::-webkit-scrollbar {
  display: none;
}

.sunmap-month-track {
  position: relative;
  height: 64px;
}

.sunmap-month-option {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.sunmap-month-option.is-visible {
  display: block;
}

.sunmap-month-option.pos-n2 {
  opacity: 0.36;
  transform: translate(calc(-50% - 136px), -50%) rotateY(36deg) scale(0.72);
}

.sunmap-month-option.pos-n1 {
  opacity: 0.68;
  transform: translate(calc(-50% - 72px), -50%) rotateY(22deg) scale(0.88);
}

.sunmap-month-option.pos-p1 {
  opacity: 0.68;
  transform: translate(calc(-50% + 72px), -50%) rotateY(-22deg) scale(0.88);
}

.sunmap-month-option.pos-p2 {
  opacity: 0.36;
  transform: translate(calc(-50% + 136px), -50%) rotateY(-36deg) scale(0.72);
}

.sunmap-month-option.is-selected {
  background: #111318;
  border-color: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  opacity: 1;
  transform: translate(-50%, -50%) translateY(-2px) scale(1.12);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.sunmap-status {
  min-height: 18px;
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
}

.sunmap-privacy-note {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.sunmap-status-ok {
  color: #166534;
}

.sunmap-status-warn {
  color: #b45309;
}

.sunmap-status-info {
  color: #1d4ed8;
}

.sunmap-map-panel {
  min-width: 0;
}

.sunmap-stage {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  touch-action: none;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(226, 232, 240, 0.50), rgba(248, 250, 252, 0.92)),
    #f8fafc;
  cursor: grab;
}

.sunmap-stage.is-dragging {
  cursor: grabbing;
}

.sunmap-google-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: auto;
  touch-action: none;
  transition: opacity 160ms ease;
}

.sunmap-stage-has-map .sunmap-google-map {
  opacity: 0;
  pointer-events: none;
}

.sunmap-stage-has-map.sunmap-stage-has-google-map .sunmap-google-map {
  opacity: 1;
  pointer-events: auto;
}

.sunmap-esri-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 160ms ease;
  will-change: transform;
}

.sunmap-stage-has-map .sunmap-esri-map {
  opacity: 1;
}

.sunmap-stage-has-map.sunmap-stage-has-google-map .sunmap-esri-map {
  opacity: 0;
  pointer-events: none;
}

.sunmap-esri-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.sunmap-esri-tile-layer {
  position: absolute;
  width: 768px;
  height: 768px;
  z-index: 2;
  filter: saturate(0.92) contrast(0.96) brightness(1.04);
}

.sunmap-esri-tile-layer img {
  position: absolute;
  width: 256px;
  height: 256px;
  border: 0;
  display: block;
}

.sunmap-esri-attribution {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 7px;
  z-index: 5;
  width: fit-content;
  max-width: calc(100% - 16px);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  color: #323232;
  font: 700 11px/1.2 Arial, sans-serif;
  padding: 3px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sunmap-map-texture {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(148, 163, 184, 0.16) 1px, transparent 1px),
    linear-gradient(35deg, transparent 47%, rgba(96, 165, 250, 0.13) 48%, rgba(96, 165, 250, 0.13) 52%, transparent 53%),
    linear-gradient(130deg, transparent 49%, rgba(34, 197, 94, 0.12) 50%, rgba(34, 197, 94, 0.12) 53%, transparent 54%);
  background-size: 42px 42px, 42px 42px, 240px 240px, 280px 280px;
}

.sunmap-stage-has-map .sunmap-map-texture {
  opacity: 0;
}

#sunMapSvgSlot,
.sunmap-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#sunMapSvgSlot {
  z-index: 2;
  pointer-events: none;
}

.sunmap-svg {
  overflow: visible;
}

.sunmap-ring {
  fill: none;
  stroke: rgba(15, 23, 42, 0.12);
  stroke-width: 2;
}

.sunmap-ring-outer {
  stroke: rgba(15, 23, 42, 0.18);
  stroke-width: 2.5;
}

.sunmap-axis {
  stroke: rgba(15, 23, 42, 0.10);
  stroke-width: 2;
}

.sunmap-cardinal {
  fill: #0f172a;
  font-size: 20px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: middle;
}

.sunmap-hour-ray-shadow {
  stroke: rgba(0, 0, 0, 0.92);
  stroke-linecap: round;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.36));
}

.sunmap-hour-ray {
  stroke: #fff200;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.28));
}

.sunmap-facing-ray {
  stroke: #f97316;
  stroke-width: 4;
  stroke-dasharray: 8 8;
  filter: drop-shadow(0 1px 2px rgba(154, 52, 18, 0.34));
}

.sunmap-arrow-head {
  fill: #fff200;
}

.sunmap-arrow-head-shadow {
  fill: rgba(0, 0, 0, 0.92);
}

.sunmap-facing-head {
  fill: #f97316;
}

.sunmap-ray-label {
  fill: #ffffff;
  font-size: 14px;
  font-weight: 900;
  dominant-baseline: middle;
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.92);
  stroke-linejoin: round;
  stroke-width: 5.5;
}

.sunmap-center-dot {
  fill: #dc2626;
  stroke: #ffffff;
  stroke-width: 4;
}

.sunmap-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -100%) rotate(180deg);
  transform-origin: 50% 50%;
  background: url("pfs-mark-gold.svg") center / contain no-repeat;
  filter:
    drop-shadow(0 2px 0 rgba(255, 255, 255, 0.86))
    drop-shadow(0 8px 12px rgba(15, 23, 42, 0.38));
  pointer-events: none;
  z-index: 4;
}

.sunmap-map-status {
  min-height: 18px;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.sunmap-map-status-ok {
  color: #166534;
}

.sunmap-map-status-warn {
  color: #b45309;
}

.sunmap-map-status-info {
  color: #1d4ed8;
}

.sunmap-readouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sunmap-readout {
  position: relative;
  min-height: 84px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  overflow: visible;
}

.sunmap-readout-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
}

.sunmap-readout-label > span:first-child {
  display: block;
  min-width: 0;
}

.sunmap-readout-help {
  display: inline-flex;
  align-items: center;
  position: static;
}

.sunmap-info-btn {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(100, 116, 139, 0.36);
  background: #f8fafc;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.sunmap-info-btn:hover,
.sunmap-info-btn:focus-visible,
.sunmap-readout-help.is-open .sunmap-info-btn {
  border-color: rgba(249, 115, 22, 0.65);
  background: rgba(249, 115, 22, 0.10);
  color: #9a3412;
}

.sunmap-info-btn:focus-visible {
  outline: 2px solid rgba(249, 115, 22, 0.38);
  outline-offset: 2px;
}

.sunmap-tooltip {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 34px;
  z-index: 12;
  display: block;
  padding: 10px 11px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.96);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.20);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.sunmap-readout-help:hover .sunmap-tooltip,
.sunmap-readout-help:focus-within .sunmap-tooltip,
.sunmap-readout-help.is-open .sunmap-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sunmap-readout strong {
  display: block;
  color: #111318;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.sunmap-readout-small {
  min-height: 70px;
}

.sunmap-readout-small strong {
  font-size: 16px;
}

@media (max-width: 980px) {
  .sunmap-control-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sunmap-month-field,
  .sunmap-button-row {
    grid-column: 1 / -1;
  }

  .sunmap-readouts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .sunmap-location-line {
    flex-direction: column;
    align-items: stretch;
  }

  .sunmap-location-actions .fy-btn {
    width: 100%;
  }

  .sunmap-control-grid,
  .sunmap-readouts {
    grid-template-columns: 1fr;
  }

  .sunmap-button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .sunmap-button-row .fy-btn {
    width: 100%;
  }

  .sunmap-pin {
    width: 36px;
    height: 36px;
  }
}

/* =======================================================================
   Studio Sun Map workspace - compact map + live analysis
   ======================================================================= */

.pfs-workspace-sun .sunmap-card > .settings-header-row {
  display: none !important;
}

.pfs-workspace-sun .sunmap-card {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pfs-workspace-sun #sunMapRoot {
  min-height: 100%;
}

.sunmap-analysis {
  min-width: 0;
  padding: 15px;
  border: 1px solid #dedfdc;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(24, 28, 27, 0.045);
}

.sunmap-analysis-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sunmap-analysis-heading h3 {
  margin: 4px 0 0;
  color: #171918;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.sunmap-analysis-copy {
  margin: 7px 0 13px;
  color: #68716b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.sunmap-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #dfe7df;
  border-radius: 999px;
  background: #f7faf7;
  color: #4e5c53;
  font-size: 11px;
  font-weight: 900;
}

.sunmap-live-badge > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ca66f;
  box-shadow: 0 0 0 4px rgba(44, 166, 111, 0.11);
}

@media (min-width: 861px) {
  .pfs-workspace-sun .pfs-workspace-body {
    padding: 14px !important;
  }

  .pfs-workspace-sun .sunmap-shell {
    display: grid;
    grid-template-columns: minmax(350px, 420px) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto 1fr;
    gap: 11px 16px;
    align-items: start;
  }

  .pfs-workspace-sun .sunmap-controls {
    display: contents;
  }

  .pfs-workspace-sun .sunmap-location-line {
    grid-column: 1;
    grid-row: 1;
    min-height: 66px;
    padding: 11px 12px;
    border: 1px solid #dedfdc;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(24, 28, 27, 0.04);
  }

  .pfs-workspace-sun .sunmap-address {
    max-width: 230px;
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pfs-workspace-sun .sunmap-location-actions .fy-btn {
    min-height: 38px;
    padding-left: 12px;
    padding-right: 12px;
    box-shadow: 0 7px 16px rgba(11, 88, 208, 0.15) !important;
  }

  .pfs-workspace-sun .sunmap-map-panel {
    grid-column: 1;
    grid-row: 2 / span 4;
    min-width: 0;
    padding: 9px;
    border: 1px solid #dedfdc;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(24, 28, 27, 0.045);
  }

  .pfs-workspace-sun .sunmap-stage {
    width: 100%;
    max-width: none;
    margin: 0;
    border-color: #d7dad7;
    border-radius: 9px;
  }

  .pfs-workspace-sun .sunmap-map-status {
    min-height: 15px;
    margin: 7px 2px 0;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .pfs-workspace-sun .sunmap-month-field {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px 11px;
    border: 1px solid #dedfdc;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(24, 28, 27, 0.04);
  }

  .pfs-workspace-sun .sunmap-month-label {
    margin-bottom: 4px;
    color: #68716b;
    font-size: 10px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .pfs-workspace-sun .sunmap-month-dial {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 6px;
    padding: 5px;
    border-color: #e0e3e0;
    border-radius: 8px;
    background: #f6f7f5;
    box-shadow: none;
  }

  .pfs-workspace-sun .sunmap-month-dial::after {
    top: 5px;
    bottom: 5px;
    width: 1px;
    background: rgba(199, 154, 59, 0.82);
  }

  .pfs-workspace-sun .sunmap-month-nav {
    width: 36px;
    height: 38px;
    border-color: #d9ddda;
    box-shadow: 0 3px 8px rgba(24, 28, 27, 0.05);
  }

  .pfs-workspace-sun .sunmap-month-window,
  .pfs-workspace-sun .sunmap-month-track {
    height: 48px;
  }

  .pfs-workspace-sun .sunmap-month-option {
    height: 36px;
    border-radius: 7px;
    font-size: 11px;
  }

  .pfs-workspace-sun .sunmap-month-option.is-selected {
    background: #171918;
    border-color: #171918;
    box-shadow: 0 6px 14px rgba(24, 28, 27, 0.15);
  }

  .pfs-workspace-sun .sunmap-control-grid {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(160px, 1.2fr) minmax(104px, 0.72fr) minmax(104px, 0.72fr) auto;
    gap: 9px;
    align-items: end;
    padding: 11px;
    border: 1px solid #dedfdc;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(24, 28, 27, 0.04);
  }

  .pfs-workspace-sun .sunmap-control-grid :is(input, select) {
    min-height: 38px;
  }

  .pfs-workspace-sun .sunmap-control-grid .fy-field label {
    margin-bottom: 5px;
    color: #68716b;
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .pfs-workspace-sun .sunmap-button-row,
  .pfs-workspace-sun .sunmap-button-row .fy-btn {
    min-height: 38px;
  }

  .pfs-workspace-sun .sunmap-privacy-note {
    grid-column: 2;
    grid-row: 3;
    padding: 0 3px;
    color: #7a837d;
    font-size: 10.5px;
    font-weight: 700;
  }

  .pfs-workspace-sun .sunmap-status {
    grid-column: 2;
    grid-row: 4;
    min-height: 0;
    padding: 0 3px;
    font-size: 10.5px;
  }

  .pfs-workspace-sun .sunmap-analysis {
    grid-column: 2;
    grid-row: 5;
  }

  .pfs-workspace-sun .sunmap-readouts {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
  }

  .pfs-workspace-sun .sunmap-readout {
    grid-column: span 3;
    min-height: 93px;
    padding: 12px;
    border-color: #e0e2df;
    border-radius: 9px;
    background: linear-gradient(180deg, #ffffff, #fafbf9);
    box-shadow: 0 5px 14px rgba(24, 28, 27, 0.035);
  }

  .pfs-workspace-sun .sunmap-readout::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    border-radius: 9px 9px 0 0;
    background: #c9ced0;
  }

  .pfs-workspace-sun .sunmap-readout-azimuth::before {
    background: #0b58d0;
  }

  .pfs-workspace-sun .sunmap-readout-altitude::before {
    background: #e0a623;
  }

  .pfs-workspace-sun .sunmap-readout-facing::before {
    background: #ef7d32;
  }

  .pfs-workspace-sun .sunmap-readout-exposure {
    border-color: #e2d3aa;
    background: linear-gradient(135deg, #fffdf7, #faf2df);
  }

  .pfs-workspace-sun .sunmap-readout-exposure::before {
    background: #c79a3b;
  }

  .pfs-workspace-sun .sunmap-readout-label {
    margin-bottom: 8px;
    color: #6c756f;
    font-size: 10.5px;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }

  .pfs-workspace-sun .sunmap-readout strong {
    color: #1c211e;
    font-size: 22px;
    letter-spacing: -0.035em;
  }

  .pfs-workspace-sun .sunmap-readout-small {
    grid-column: span 2;
    min-height: 72px;
    background: #f7f8f6;
    box-shadow: none;
  }

  .pfs-workspace-sun .sunmap-readout-small::before {
    height: 2px;
    background: #d6dad6;
  }

  .pfs-workspace-sun .sunmap-readout-small strong {
    font-size: 14px;
    letter-spacing: -0.015em;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .pfs-workspace-sun .sunmap-shell {
    grid-template-columns: minmax(310px, 360px) minmax(0, 1fr);
  }

  .pfs-workspace-sun .sunmap-control-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pfs-workspace-sun .sunmap-button-row {
    grid-column: 1 / -1;
  }

  .pfs-workspace-sun .sunmap-button-row .fy-btn {
    width: 100%;
  }

  .pfs-workspace-sun .sunmap-readout {
    grid-column: span 6;
  }

  .pfs-workspace-sun .sunmap-readout-small {
    grid-column: span 2;
  }
}

@media (min-width: 861px) and (max-width: 960px) {
  .pfs-workspace-sun .sunmap-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .pfs-workspace-sun .sunmap-location-line,
  .pfs-workspace-sun .sunmap-map-panel,
  .pfs-workspace-sun .sunmap-month-field,
  .pfs-workspace-sun .sunmap-control-grid,
  .pfs-workspace-sun .sunmap-privacy-note,
  .pfs-workspace-sun .sunmap-status,
  .pfs-workspace-sun .sunmap-analysis {
    grid-column: 1;
    grid-row: auto;
  }

  .pfs-workspace-sun .sunmap-map-panel {
    width: min(100%, 430px);
    justify-self: center;
  }
}

@media (max-width: 860px) {
  .pfs-workspace-sun .sunmap-card {
    padding: 0 !important;
  }

  .pfs-workspace-sun .sunmap-controls,
  .pfs-workspace-sun .sunmap-analysis {
    border-color: #dedfdc;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(24, 28, 27, 0.04);
  }

  .pfs-workspace-sun .sunmap-map-panel {
    padding: 7px;
    border: 1px solid #e0e2df;
    border-radius: 9px;
    background: #ffffff;
  }

  .pfs-workspace-sun .sunmap-stage {
    border-radius: 8px;
  }

  .pfs-workspace-sun .sunmap-analysis-heading h3 {
    font-size: 18px;
  }
}
