.approach-guide { display: grid; gap: 10px; min-height: 0; }
.approach-description { margin: 0; color: #475569; line-height: 1.65; }
.approach-map-section h2 { margin: 0; font-size: 1.15rem; }
.approach-step h2 { margin: 0; font-size: 1rem; }
.approach-map-section { display: grid; gap: 12px; }
.approach-workspace { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 12px; height: calc(100dvh - 110px); min-height: 520px; }
.approach-workspace > .card { min-height: 0; padding: 12px; }
.approach-map-section { grid-template-rows: auto minmax(0, 1fr); }
.approach-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #64748b; font-size: .82rem; }
.approach-panel-heading h2 { color: #172322; }
.approach-map-viewport { display: grid; place-items: center; min-width: 0; min-height: 0; width: 100%; height: 100%; overflow: hidden; }
.approach-overview-stage { min-width: 0; min-height: 0; width: 100%; height: auto; max-width: 100%; place-self: center; aspect-ratio: var(--overview-ratio); }
.approach-image-stage.approach-overview-stage > img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; }
.area-approach-map { margin-bottom: 18px; }
.area-approach-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.area-approach-heading > div { display: grid; gap: 3px; }
.area-approach-heading a { color: #176b50; font-weight: 750; }
.approach-steps-panel { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 8px; overflow: hidden; }
.approach-step-controls > div { display: flex; align-items: baseline; gap: 8px; }
.approach-step-buttons { display: flex; gap: 6px; }
.approach-step-buttons button { width: 34px; height: 32px; border: 0; border-radius: 8px; background: #e4eee9; color: #176b50; cursor: pointer; font-size: 1.1rem; font-weight: 900; }
.approach-scenes { display: flex; gap: 10px; min-height: 0; overflow-x: auto; overflow-y: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.approach-step { display: grid; grid-template-rows: auto auto; gap: 8px; flex: 0 0 100%; min-width: 0; min-height: 0; align-content: start; scroll-snap-align: start; scroll-snap-stop: always; }
.approach-step-branch { border-left: 4px solid #70a997; padding-left: 8px; }
.approach-branch-label { margin: 0; color: #176b50; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.approach-return-label { margin: 0; color: #9a3412; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.approach-step-return { border-color: #d6a074; }
.approach-destination { margin: 0; color: #9a3412; font-weight: 800; }
.approach-boulder-row { display: grid; grid-template-columns: minmax(112px, auto) minmax(0, 1fr); align-items: start; gap: 8px; }
.approach-boulder-row-label { color: #64748b; font-size: .86rem; font-weight: 700; line-height: 1.4; }
.approach-area-boulder-links { display: flex; flex-wrap: wrap; gap: 5px; }
.approach-area-boulder-link { border: 1px solid #9fc7b9; border-radius: 6px; background: #edf7f2; color: #176b50; font-size: .86rem; font-weight: 750; line-height: 1.4; padding: 1px 6px; }
.approach-area-boulder-link:hover,
.approach-area-boulder-link:focus-visible { background: #176b50; color: #fff; text-decoration: none; }
.approach-step-heading { display: flex; gap: 12px; align-items: flex-start; }
.approach-step-heading > div { display: grid; gap: 6px; }
.approach-step-heading { min-height: max-content; overflow: visible; }
.approach-step-heading h2 { position: relative; z-index: 1; line-height: 1.25; }
.approach-step-heading .approach-description { display: block; overflow: visible; line-height: 1.35; }
.approach-step-number { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%; background: #176b50; color: #fff; font-weight: 800; }
.approach-step-number.is-destination { background: #d92d20; }
.approach-image-stage { position: relative; overflow: hidden; border-radius: 14px; background: #dbe9e3; }
.approach-image-stage > img { display: block; width: 100%; height: auto; }
.approach-step > .approach-step-photo-stage { min-height: 0; place-self: start center; display: grid; width: min(100%, 420px); height: auto; max-width: 100%; aspect-ratio: var(--photo-ratio); background: #172322; }
.approach-photo-canvas { position: relative; width: 100%; height: 100%; }
.approach-photo-canvas > img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.approach-expandable-image { cursor: zoom-in; }
.approach-photo-viewer { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 12, 10, .96); color: #fff; }
.approach-photo-viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; }
.approach-photo-viewer::backdrop { background: rgba(4, 12, 10, .96); }
.approach-photo-viewer > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.approach-photo-viewer p { margin: 0; padding: 8px 52px 14px; font-weight: 700; text-align: center; }
.approach-photo-close { position: fixed; z-index: 2; top: max(12px, env(safe-area-inset-top)); right: 12px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; font-size: 28px; line-height: 1; }
.approach-route-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.approach-route-overlay path { fill: none; stroke: #ff382d; stroke-width: 2.15; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 2px 2px rgba(0,0,0,.65)); }
.approach-map-step-pin { position: absolute; z-index: 3; display: grid; place-items: center; width: 10px; height: 10px; transform: translate(-50%, -50%); border: 2px solid #fff; border-radius: 50%; background: #176b50; color: transparent; font-size: 0; font-weight: 900; text-decoration: none; box-shadow: 0 1px 5px rgba(0,0,0,.7); transition: width .16s ease, height .16s ease, background .16s ease, color .16s ease; }
.approach-map-step-pin:hover, .approach-map-step-pin:focus-visible, .approach-map-step-pin.is-active { z-index: 5; width: 30px; height: 30px; border-width: 3px; background: #176b50; color: #fff; font-size: .8rem; box-shadow: 0 2px 9px rgba(0,0,0,.55); }
.approach-map-step-pin.is-destination, .approach-map-step-pin.is-destination:hover, .approach-map-step-pin.is-destination:focus-visible, .approach-map-step-pin.is-destination.is-active { background: #d92d20; }
.approach-marker { position: absolute; display: flex; align-items: center; gap: 5px; transform: translate(-18px, -18px); pointer-events: none; }
.approach-marker-arrow { display: grid; place-items: center; width: 36px; height: 36px; border: 3px solid #fff; border-radius: 50%; background: #d92d20; color: #fff; font-size: 24px; font-weight: 800; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.direction-left .approach-marker-arrow { transform: rotate(-90deg); }
.direction-right .approach-marker-arrow { transform: rotate(90deg); }
.direction-back .approach-marker-arrow { transform: rotate(180deg); }
.approach-marker-label { max-width: 180px; border-radius: 7px; background: rgba(17,24,39,.88); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 7px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
@media (max-width: 760px) {
  .approach-guide { gap: 8px; }
  .approach-workspace { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; min-height: 0; gap: 8px; }
  .approach-workspace > .card { padding: 8px; }
  .approach-map-section { gap: 6px; }
  .approach-map-viewport { height: auto; overflow: visible; }
  .approach-overview-stage { width: 100%; height: auto; max-height: none; }
  .approach-steps-panel { grid-template-rows: auto auto; gap: 5px; overflow: visible; }
  .approach-scenes { min-height: auto; overflow-y: visible; }
  .approach-step-heading > div { gap: 2px; }
  .approach-step { grid-template-rows: auto auto; }
  .approach-step > .approach-step-photo-stage { width: 100%; max-width: none; height: auto; }
  .approach-photo-canvas { height: auto; aspect-ratio: var(--photo-ratio); }
  .approach-step-number { width: 28px; height: 28px; flex-basis: 28px; }
  .approach-marker-label { max-width: 120px; font-size: .72rem; }
}
@media (min-width: 761px) and (max-height: 700px) {
  .approach-workspace { height: calc(100dvh - 72px); min-height: 460px; }
}
