/* vhtrc-elevation.css — minimal; override freely */
.vep { font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #333; margin: 1em 0; }
.vep-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-bottom: 6px; }
.vep-title { font-weight: 600; font-size: 1.05em; flex: 1 0 100%; }
.vep-stats { display: flex; flex-wrap: wrap; gap: 4px 16px; flex: 1 1 auto; }
.vep-stat { white-space: nowrap; }
.vep-k { color: #777; margin-right: 4px; font-size: .85em; text-transform: uppercase; letter-spacing: .03em; }
.vep-v { font-weight: 600; font-variant-numeric: tabular-nums; }
.vep-tools { display: flex; gap: 6px; }
.vep-btn { font: inherit; font-size: .85em; padding: 3px 9px; border: 1px solid #bbb; border-radius: 4px;
           background: #fff; color: #333; cursor: pointer; text-decoration: none; }
.vep-btn:hover { background: #f2f2f2; }
.vep-btn[hidden] { display: none; }
.vep-map { width: 100%; height: 420px; border: 1px solid #ccc; border-radius: 4px 4px 0 0; }
.vep-profile { display: block; width: 100%; border: 1px solid #ccc; border-top: 0; border-radius: 0 0 4px 4px;
               background: #fff; color: #444; cursor: crosshair; touch-action: pan-y; user-select: none; }
.vep-profile[hidden], .vep-hint[hidden], .vep-msg[hidden] { display: none; }
.vep-hint { font-size: .8em; color: #888; margin-top: 3px; }
.vep-msg { margin-top: 6px; padding: 6px 10px; background: #fff4e5; border: 1px solid #f0c27b; border-radius: 4px; }

/* map buttons */
.vep-ctl a.vep-ctl-btn { display: flex; align-items: center; justify-content: center; color: #333; }

/* full screen (native :fullscreen gets .vep-is-fs too) */
.vep.vep-is-fs { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; height: 100%;
                 margin: 0; padding: 10px 12px; background: #fff; }
.vep.vep-fs { position: fixed; inset: 0; z-index: 10000; width: 100vw; height: 100vh; height: 100dvh; }
.vep.vep-is-fs .vep-map { flex: 1 1 auto; min-height: 0; height: auto !important; }
.vep.vep-is-fs .vep-profile { flex: 0 0 auto; height: 28vh !important; min-height: 150px; max-height: 280px; }
.vep.vep-is-fs .vep-hint { display: none; }
html.vep-noscroll, html.vep-noscroll body { overflow: hidden; }
