
/* The mountain and its field notes share one sheet of paper. */
:root[data-v2-theme="lavender"] .phase3-board {
  --atlas-ink:#234a3d;--atlas-brass:#a2804e;--atlas-hairline:#ae9d7c65;
}
/* Keep fallback hit targets stationary when reduced motion is enabled. */
@media(prefers-reduced-motion:reduce) {
  :root[data-v2-theme="lavender"] #root .phase3-map .phase3-stratum,
  :root[data-v2-theme="lavender"] #root .phase3-map .phase3-map-label {transform:none}
  :root[data-v2-theme="lavender"] #root .phase3-map[data-spread=true] .phase3-stratum {
    transform:translateY(calc((var(--layer-index) - 2) * 24px));
  }
}
#root .jade-stage {--jade-frame-width:1152}
#root .jade-space {--jade-px:min(calc(100cqw / var(--jade-frame-width)),calc(100cqh / 914))}
.jade-space > :is(.jade-poster,.jade-tethers.still) {
  inset:auto;left:50%;top:50%;width:calc(1204 * var(--jade-px));height:calc(914 * var(--jade-px));
  max-width:none;transform:translate(-50%,-50%);
}
#root .jade-stage .jade-label {
  min-height:30px;padding:3px 11px;line-height:1.35;letter-spacing:.07em;
  border:0;border-inline-start:2px solid #a48554;border-radius:0 2px 2px 0;
  background:#fcf7eaf5;color:var(--atlas-ink);box-shadow:0 1px 3px #54452b19;
  font-size:clamp(13px,calc(20 * var(--jade-px)),18px);
}
#root .jade-stage .jade-label:is([data-state=current],[data-hovered=true],:focus-visible) {
  color:#173f31;background:#f2ecd6;border-inline-start-color:#805a26;
}
#root .jade-stage .jade-label[data-state=done] {border-inline-start-color:#52735c}
#root .jade-stage .jade-tethers path {stroke:#a78854;stroke-width:1.1;opacity:.9}
#root .jade-stage .jade-tethers .jade-pin-mark {fill:#af8650;stroke:#fff6dd;stroke-width:1.5}
.jade-space > .jade-horizon {position:absolute;inset:0;pointer-events:none;
  mask-image:linear-gradient(to right,transparent,#000 9%,#000 92%,transparent),
    linear-gradient(to bottom,transparent,#000 9%,#000 88%,transparent);mask-composite:intersect;
}
#root .jade-stage .jade-surround {
  mask-image:linear-gradient(to right,transparent,#000 13%,#000 90%,transparent),
    linear-gradient(to bottom,transparent,#000 10%,#000 85%,transparent);mask-composite:intersect;
}

@media(min-width:960px) {
  :root[data-v2-theme="lavender"] #root .phase3-board:not([hidden]) {
    display:grid;width:min(100%,1940px);box-sizing:border-box;
    grid-template-columns:clamp(215px,19vw,295px) minmax(0,1fr);
    grid-template-rows:minmax(min-content,1fr) auto auto minmax(min-content,1fr) auto;
    column-gap:clamp(14px,2vw,34px);align-items:start;
    padding:clamp(12px,2vh,22px) clamp(12px,1.6vw,30px) 6px clamp(24px,3.2vw,62px);
  }
  :root[data-v2-theme="lavender"] #root .phase3-board>.v2-board-header {
    grid-area:1/1;align-self:end;justify-content:flex-start;text-align:left;width:100%;margin:0 0 13px;
  }
  :root[data-v2-theme="lavender"] #root .phase3-board>.v2-board-header h1 {
    color:var(--atlas-ink);font-size:clamp(36px,3.2vw,58px);letter-spacing:.06em;line-height:1.12;
  }
  :root[data-v2-theme="lavender"] #root .phase3-board>.v2-board-header p {
    display:block;margin:14px 0 0;padding:0 2px 0 12px;max-width:100%;border:0;
    font-size:clamp(14px,1.15vw,18px);line-height:1.65;text-align:start;
  }
  :root[data-v2-theme="lavender"] #root .phase3-board>.v2-board-header p::before {width:2px;background:var(--atlas-brass)}
  :root[data-v2-theme="lavender"] #root .phase3-board > .phase3-progress {
    grid-area:3/1;width:100%;margin:0;padding:12px 0 8px;border-block:1px solid var(--atlas-hairline);border-radius:0;
  }
  :root[data-v2-theme="lavender"] #root .phase3-board > .phase3-progress .review-progress-header {
    margin:0 0 7px;padding:0 1px;color:#506454;
  }
  :root[data-v2-theme="lavender"] #root .phase3-board > .phase3-progress ol {display:flex;flex-direction:column;--row:clamp(35px,5.1vh,48px)}
  :root[data-v2-theme="lavender"] #root .phase3-board > .phase3-progress ol::before,
  :root[data-v2-theme="lavender"] #root .phase3-board > .phase3-progress ol::after {
    left:14px;top:calc(var(--row) / 2);width:1px;height:calc(100% - var(--row));background:#a8ab8e;
  }
  :root[data-v2-theme="lavender"] #root .phase3-board > .phase3-progress ol::after {
    background:#5f785f;height:calc(var(--map-progress,0%) * .8);transition:height 320ms ease;
  }
  :root[data-v2-theme="lavender"] #root .phase3-board > .phase3-progress li .review-step {
    display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;justify-items:start;gap:14px;padding:0 2px;height:var(--row);min-height:0;
    font-size:clamp(15px,1.22vw,20px);line-height:1.3;text-align:start;
  }
  :root[data-v2-theme="lavender"] #root .phase3-board > .phase3-progress .review-number {width:25px;height:25px}
  :root[data-v2-theme="lavender"] #root .phase3-map-region {grid-area:1/2/5/3;align-self:stretch}
  :root[data-v2-theme="lavender"] #root .phase3-board .phase3-map {
    height:clamp(545px,calc(100dvh - var(--bar-h,64px) - 53px),1120px);width:100%;max-width:none;
  }
  :root[data-v2-theme="lavender"] #root .phase3-board-controls {
    grid-area:4/1;width:100%;margin:clamp(15px,2.4vh,28px) 0 0;padding:0;
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
  }
  :root[data-v2-theme="lavender"] #root .phase3-board-controls button {
    width:100%;min-width:0;min-height:40px;padding:5px 4px;font-size:clamp(12px,1vw,16px);
  }
  :root[data-v2-theme="lavender"] #root .phase3-board-controls :is(.v2-main-button,.phase3-completed-stamp) {
    grid-column:1/-1;
  }
  :root[data-v2-theme="lavender"] #root .phase3-board-controls .v2-main-button {min-height:44px;font-size:clamp(16px,1.2vw,20px)}
  :root[data-v2-theme="lavender"] #root .phase3-board>.v2-board-foot {grid-area:5/1/6/3;box-sizing:border-box;width:100%;margin:0;padding:4px 0 2px;min-height:24px}
  :root[data-v2-theme="lavender"] #root .phase3-board[data-complete=true] .phase3-board-controls button {grid-column:1/-1}
}
@media(max-width:959px) {
  #root .jade-stage {--jade-frame-width:1040;height:clamp(272px,83vw,min(720px,76dvh))}
  #root .jade-stage .jade-label {font-size:clamp(12px,2.4vw,16px);padding:3px 7px;min-height:27px}
}
