/* Parks Path place marks: shared summary card + the Visited / Planned control. */
.ppm-card { font-family: Jost, system-ui, sans-serif; color: #1E2A2F; min-width: 0; }
.ppm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ppm-head strong { font-size: 15px; line-height: 1.2; color: #0E4A5C; min-width: 0; }
.ppm-head { align-items: flex-start; }
.ppm-pill { flex: none; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.ppm-pill-visited { background: #0E4A5C; color: #FBF5EA; }
.ppm-pill-planned { background: #F1E7D6; color: #0E4A5C; border: 1px solid rgba(14,74,92,.25); }
.ppm-group + .ppm-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(14,74,92,.12); }
.ppm-gh { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0E4A5C; opacity: .8; margin-bottom: 3px; }
.ppm-gh span { font-weight: 600; opacity: .75; letter-spacing: 0; }
.ppm-list { list-style: none; margin: 0; padding: 0; }
.ppm-row { display: flex; align-items: center; gap: 6px; width: 100%; padding: 2px 0; font: inherit; font-size: 12.5px; line-height: 1.25; color: inherit; background: none; border: 0; text-align: left; min-width: 0; }
button.ppm-row { cursor: pointer; border-radius: 6px; padding: 4px 4px; margin: 0 -4px; width: calc(100% + 8px); }
button.ppm-row:hover, button.ppm-row:focus-visible { background: #F1E7D6; outline: none; }
.ppm-ico { flex: none; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.ppm-ico-none { background: #DCE7EA; }
.ppm-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ppm-stars { flex: none; display: inline-flex; gap: 0; font-size: 11px; line-height: 1; letter-spacing: -0.5px; }
.ppm-stars i { font-style: normal; color: #D5CBB8; }
.ppm-stars i.on { color: #0E4A5C; }
.ppm-more { font-size: 11px; color: #0E4A5C; opacity: .8; margin-top: 2px; }

/* Classic map tooltip in card mode (light, edge-aware, never under the cursor). */
.tooltip.ppm-tt { background: #FBF5EA; color: #1E2A2F; border: 1px solid rgba(14,74,92,.2); border-radius: 12px; padding: 10px 12px; transform: none;
  white-space: normal; width: 250px; max-width: calc(100% - 16px); box-shadow: 0 8px 22px rgba(14,74,92,.2); }
.tooltip.ppm-tt .tt-photo { display: none; }
.mapb-tooltip .ppm-card { margin-top: 0; }
.mapb-card .ppm-card { margin: 10px 0 2px; padding-top: 8px; border-top: 1px solid rgba(14,74,92,.12); max-height: 34vh; overflow: auto; }

/* Visited / Planned control on a place (Park Explorer detail + lists). */
.ppm-ctl { margin: 8px 0 4px; padding: 8px 10px; background: #FFFFFF; border: 1px solid rgba(14,74,92,.16); border-radius: 10px; }
.ppm-seg { display: inline-flex; border-radius: 9px; border: 1px solid rgba(14,74,92,.22); overflow: hidden; background: #FBF5EA; }
.ppm-seg button { font: 600 13px/1 Jost, system-ui, sans-serif; color: #0E4A5C; background: transparent; border: 0; padding: 8px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; min-height: 34px; }
.ppm-seg button + button { border-left: 1px solid rgba(14,74,92,.22); }
.ppm-seg button:hover { background: #F1E7D6; }
.ppm-seg button:focus-visible { outline: 2px solid #0E4A5C; outline-offset: -2px; }
.ppm-seg button.on-planned { background: #FCE3D1; color: #1E2A2F; box-shadow: inset 0 0 0 2px #E8691E; }
.ppm-seg button.on-visited { background: #0e4a5c; color: #fff; }
.ppm-seg svg { flex: none; }
.ppm-rate { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ppm-rate-l { font-size: 12.5px; color: #1E2A2F; }
.ppm-rate-in { display: inline-flex; }
.ppm-rate-in button { border: 0; background: none; padding: 0 2px; font-size: 22px; line-height: 1; color: #D5CBB8; cursor: pointer; }
.ppm-rate-in button.on { color: #0E4A5C; }
.ppm-rate-in button:hover, .ppm-rate-in:hover button.hov { color: #1F6B2E; }
.ppm-rate-in button:focus-visible { outline: 2px solid #0E4A5C; border-radius: 4px; }
.ppm-note { font-size: 11.5px; color: #4b5a5f; margin-top: 6px; }
.ppm-note button { font: inherit; color: #0E4A5C; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }

/* Small status tag in lists, cards and tooltips. */
.ppm-tag { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; font-size: 10px; font-weight: 700; border-radius: 6px; padding: 1px 5px; vertical-align: 1px; white-space: nowrap; }
.ppm-tag-visited { background: #0E4A5C; color: #FBF5EA; }
.ppm-tag-planned { background: #F1E7D6; color: #0E4A5C; border: 1px solid rgba(14,74,92,.22); }
.ppm-tag .ppm-stars i { color: rgba(251,245,234,.4); }
.ppm-tag .ppm-stars i.on { color: #FBF5EA; }

/* Park card in the side panel / phone sheet. */
.np-card .ppm-card.np-marks { margin: 8px 0 10px; padding: 8px 10px; background: #FFFFFF; border: 1px solid rgba(14,74,92,.14); border-radius: 10px; }

/* State hover (classic tooltip, Map B tooltip and Map B state sheet): the
   member's national parks and national monuments, Visited (rated) / Planned. */
.pps-sub { font-size: 11.5px; color: #1E2A2F; opacity: .8; margin: -3px 0 6px; }
.pps-lists { margin: 6px 0 6px; }
.mapb-tooltip .pps-lists { padding-top: 6px; border-top: 1px solid rgba(14,74,92,.12); }
.pps-card .pps-lists { margin-top: 0; }
.pps-sec + .pps-sec { margin-top: 7px; padding-top: 6px; border-top: 1px solid rgba(14,74,92,.12); }
.pps-sh { font-size: 12px; font-weight: 700; color: #0E4A5C; margin-bottom: 3px; }
.pps-g + .pps-g { margin-top: 4px; }
.pps-row { padding: 1.5px 0; }
.pps-ico { flex: none; width: 15px; height: 15px; object-fit: contain; }
.pps-rate { flex: none; display: inline-flex; align-items: center; gap: 3px; }
.pps-rate b { font-size: 10.5px; font-weight: 600; color: #0E4A5C; }
.mapb-tooltip { max-height: calc(100% - 12px); overflow: hidden; }
.tooltip.ppm-tt { max-height: calc(100% - 16px); overflow: hidden; }
.mapb-sheet-lists { margin: 10px 0 4px; padding: 8px 10px; background: #FFFFFF; border: 1px solid rgba(14,74,92,.14); border-radius: 10px; }
/* Parks progress row at the end of the parks section (above National monuments). */
.pps-prog { margin-top: 6px; }
.pps-prog-t { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: #1E2A2F; }
.pps-prog-t span:last-child { font-weight: 600; color: #0E4A5C; }
.pps-bar { height: 6px; border-radius: 999px; background: #F1E7D6; margin: 4px 0 2px; overflow: hidden; }
.pps-bar i { display: block; height: 100%; background: #1F6B2E; border-radius: 999px; }
.pps-lists-empty .pps-prog { margin-top: 0; }
.mapb-tooltip .pps-lists { margin-bottom: 6px; }
.pps-g-none .ppm-name { color: #1E2A2F; opacity: .85; }
