/* terrain cross-section panel (static/js/section.js); the panel is a shared .dock */
#section{height:250px;padding-bottom:6px}
body.section-open #profile{display:none}
body.flying #section{display:none}
.sec-stats{display:flex;flex-wrap:wrap;gap:2px 12px;font-size:12.5px;color:var(--muted);margin:3px 0 2px;font-variant-numeric:tabular-nums}
.sec-stats b{color:var(--fg);font-weight:600}
.sec-stats .ve{margin-inline-start:auto}
#sec-canvas{touch-action:none;cursor:crosshair}
.sec-tool{margin:10px 0 0}
.sec-vtx{width:12px;height:12px;border-radius:50%;background:#fff;border:2.5px solid #6b3fa0;box-shadow:0 1px 4px rgba(0,0,0,.35);cursor:grab}
.sec-vtx.end{width:15px;height:15px;background:#6b3fa0;border-color:#fff}

@media (max-width:760px){
  #section{height:236px;padding:4px 8px 4px}
  #section .ph{gap:5px;font-size:13px}
  #section .ph .seg button{padding:3px 6px;font-size:11.5px}
  #section .ph .btn{padding:3px 6px;font-size:11.5px}
  .sec-stats{font-size:11.5px;gap:0 9px}
  .sec-vtx{width:16px;height:16px}
  .sec-vtx.end{width:19px;height:19px}
}
