.section-pin {
  width: 48px;
  height: 48px;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.section-pin span {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  color: white;
  background: #193d34;
  border: 1px solid white;
  border-radius: 50%;
  font: bold 13px/1 system-ui;
}
.section-pin:focus-visible span, .section-pin[aria-pressed="true"] span {
  outline: 3px solid #ffdf65;
}
#section-selection {
  font-weight: 600;
}
@media (max-width: 600px) {
  main model-viewer { height: auto; aspect-ratio: 1 / 1; }
}

.view-controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .75rem; }
.view-controls p { margin: 0; }
#reset-view { min-height: 44px; padding: .45rem 1rem; border: 1px solid #285d4a; border-radius: .4rem; background: #fff; color: #193d34; font: inherit; font-weight: 600; cursor: pointer; }
#reset-view:focus-visible { outline: 3px solid #285d4a; outline-offset: 2px; }
.key-section { min-height: 44px; padding: .4rem .7rem; background: transparent; color: #285d4a; border: 1px solid transparent; border-radius: .4rem; font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }
.key-section[aria-pressed="true"] { background: #e4ece7; border-color: #285d4a; }
.key-section:focus-visible { outline: 3px solid #285d4a; }
.terrain-frame { position: relative; }
.strip-corner { display: block; width: 0; height: 0; pointer-events: none; }
#map-label {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  box-sizing: border-box;
  max-width: min(10rem, 48%);
  padding: .3rem .55rem;
  background: #113b36;
  color: white;
  border: 2px solid #24f4ff;
  border-radius: .35rem;
  font: 600 .875rem/1.25 system-ui;
}
#map-label.docked { position: static; display: inline-block; margin-top: .25rem; }
#map-label[hidden] { display: none; }
.edge-anchor { display: block; width: 0; height: 0; pointer-events: none; }
.label-leader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: hidden; }
.label-leader path { fill: none; stroke-linecap: round; }
.leader-halo { stroke: #113b36; stroke-width: 4px; }
.leader-ink { stroke: #52f6fb; stroke-width: 2px; }
.section-switch { display: grid; gap: .2rem; min-width: 0; max-width: 100%; font-weight: 600; }
.section-switch select { min-height: 48px; max-width: 100%; padding: .45rem .6rem; font: inherit; color: #193d34; background: white; border: 1px solid #285d4a; border-radius: .4rem; }
.section-switch select:focus-visible { outline: 3px solid #285d4a; outline-offset: 2px; }
.section-steps { display: flex; gap: .5rem; align-self: end; }
.section-steps button { min-width: 5rem; min-height: 48px; padding: .5rem .8rem; border: 1px solid #285d4a; border-radius: .4rem; background: white; color: #193d34; font: inherit; font-weight: 600; cursor: pointer; }
.section-steps button:focus-visible { outline: 3px solid #285d4a; outline-offset: 2px; }
.section-steps { align-items: center; flex-wrap: wrap; max-width: 100%; }
#section-selection { font-size: 1rem; line-height: 1.4; }
@media (max-width: 600px) {
  .section-steps { flex-basis: 100%; }
  .section-summary { flex-basis: 100%; }
}

.section-summary { min-width: 0; max-width: min(100%, 40ch); }
#section-description { margin-top: .2rem; font-size: 1rem; line-height: 1.5; font-weight: 400; }

#section-photo { margin: .75rem 0 0; max-width: 26rem; }
#section-photo img { display: block; width: 100%; height: auto; max-height: 18rem; object-fit: contain; object-position: left center; }
#section-photo figcaption { margin-top: .4rem; font-size: 1rem; line-height: 1.4; }
