/* Folding layer panel (panel.js), fix 2, 29 Nov 2026 */
.pg-h { list-style: none; margin: 8px 0 2px; padding: 0 !important; border: 0 !important; display: block !important; }
.pg-h button { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 2px;
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); font-weight: 700; border-radius: 6px; }
.pg-h button:hover, .pg-h button:focus-visible { background: rgba(255, 255, 255, 0.06); }
.pg-h button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.pg-h i { font-style: normal; display: inline-block; width: 10px; transition: transform 0.15s; transform: rotate(90deg); color: var(--soft); }
.pg-h.shut i { transform: rotate(0deg); }
.pg-h small { margin-left: auto; color: var(--soft); font-weight: 400; text-transform: none; letter-spacing: 0; }
.pg-hide { display: none !important; }
.pg-keys { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 11px; color: var(--soft); line-height: 1.5; }
.pg-keys b { color: var(--ink); font-weight: 600; margin-right: 4px; }
@media (pointer: coarse) { .pg-keys { display: none; } }
/* H: clean view, panels away (as the Editor's H) */
body.pg-clean #panel, body.pg-clean #carNote, body.pg-clean #layersFly, body.pg-clean .maplibregl-ctrl-bottom-right, body.pg-clean #cvLegend { display: none !important; }
/* the cars note never sits over the panel on a computer: it starts to the right of the panel */
@media (min-width: 601px) { #carNote { left: 274px; max-width: min(460px, calc(100% - 300px)); } }
