/* Elevation profile (elevation.js) and terrain-cell layer (cells.js), T18. Uses the app's colour tokens (app.css). */
.elev { margin-top: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; }
.elev-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14px; }
.elev-sum span { color: var(--muted); font-size: 12.5px; }
.elev svg { display: block; width: 100%; height: 72px; margin-top: 6px; touch-action: pan-y; cursor: crosshair; }
.elev-area { fill: var(--accent); fill-opacity: .16; }
.elev-line { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.elev-cursor { stroke: var(--b); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.elev-read { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.elev-src { margin-top: 4px; font-size: 10.5px; line-height: 1.3; color: var(--muted); opacity: .85; }
.elev-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--b); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
.card .elev-here { color: var(--fg); }
.cells-legend { margin: -2px 0 2px 23px; font-size: 11.5px; color: var(--muted); }
.cells-legend .t { margin-bottom: 2px; }
.cells-legend i { display: inline-block; width: 12px; height: 9px; margin-right: 5px; border-radius: 2px; vertical-align: -1px; opacity: .8; }
.cell-pop { font-size: 12.5px; color: #1c2330; }
.cell-pop span { color: #5d6878; }
.cell-pop table { border-collapse: collapse; margin: 4px 0; }
.cell-pop td { padding: 1px 8px 1px 0; vertical-align: top; }
.cell-pop td + td { font-weight: 600; white-space: nowrap; }
.cell-pop p { margin: 4px 0 0; color: #5d6878; }
