.ghpm-section {
  --ghpm-brand: #087d98;
  --ghpm-brand-dark: #075c72;
  --ghpm-ink: #163d51;
  --ghpm-muted: #607782;
  --ghpm-paper: #f8fcfd;
  --ghpm-soft: #eaf6fa;
  --ghpm-line: #b9d8e3;
  margin: 22px 0 18px;
  color: var(--ghpm-ink);
  font-family: inherit;
}

.ghpm-section[hidden] { display: none !important; }

.ghpm-heading {
  position: relative;
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 25px 20px;
  overflow: hidden;
  border: 1px solid var(--ghpm-line);
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: #edf8fb;
}

.ghpm-heading::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--ghpm-brand);
  content: "";
}

.ghpm-heading-copy { position: relative; z-index: 1; min-width: 0; }
.ghpm-eyebrow { margin: 0 0 6px !important; color: var(--ghpm-brand) !important; font-size: 9px !important; font-weight: 700 !important; letter-spacing: .18em; }
.ghpm-heading h2 { margin: 0 !important; color: var(--ghpm-ink) !important; font-size: clamp(23px, 2.7vw, 30px) !important; font-weight: 600 !important; line-height: 1.4 !important; letter-spacing: .04em; }
.ghpm-heading h2 em { color: var(--ghpm-brand); font-style: normal; }
.ghpm-lead { margin: 7px 0 0 !important; color: var(--ghpm-muted) !important; font-size: 11px !important; line-height: 1.7 !important; }

.ghpm-live-count {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 112px;
  min-height: 62px;
  flex: 0 0 auto;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 12px 14px;
  color: var(--ghpm-brand-dark);
  border: 1px solid var(--ghpm-line);
  border-radius: 2px;
  background: #fff;
  text-align: center;
}

.ghpm-live-count span { align-self: flex-start; margin-top: 3px; font-size: 8px; font-weight: 700; letter-spacing: .06em; }
.ghpm-live-count strong { margin: 0; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 24px; font-weight: 700; line-height: 1.1; }
.ghpm-live-count small { font-size: 8px; font-weight: 700; }

.ghpm-shell { overflow: hidden; border: 1px solid var(--ghpm-line); border-radius: 0 0 3px 3px; background: #fff; }
.ghpm-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 12px; border-bottom: 1px solid var(--ghpm-line); background: #fff; }
.ghpm-filter { display: flex; align-items: center; gap: 6px; }
.ghpm-filter button { min-height: 32px; padding: 7px 12px; color: var(--ghpm-muted); border: 1px solid var(--ghpm-line); border-radius: 2px; background: var(--ghpm-paper); font: inherit; font-size: 10px; font-weight: 700; line-height: 1; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.ghpm-filter button:hover,
.ghpm-filter button:focus-visible { color: var(--ghpm-brand); border-color: var(--ghpm-brand); outline: none; }
.ghpm-filter button.is-active { color: #fff; border-color: var(--ghpm-brand); background: var(--ghpm-brand); }
.ghpm-toolbar-note { margin: 0 !important; color: var(--ghpm-muted) !important; font-size: 9px !important; white-space: nowrap; }
.ghpm-toolbar-note span { color: var(--ghpm-brand); }

.ghpm-body { display: grid; min-height: 410px; grid-template-columns: minmax(0, 1fr) 355px; }
.ghpm-map { position: relative; min-height: 410px; background: #edf4f6; }
.ghpm-loading,
.ghpm-error { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; gap: 10px; padding: 30px; color: var(--ghpm-ink); background: #edf8fb; text-align: center; }
.ghpm-loading > span { width: 34px; height: 34px; margin: auto; border: 3px solid rgba(8, 125, 152, .16); border-top-color: var(--ghpm-brand); border-radius: 50%; animation: ghpm-spin .8s linear infinite; }
.ghpm-loading strong, .ghpm-error strong { font-size: 13px; font-weight: 700; }
.ghpm-error p { margin: 0 !important; color: var(--ghpm-muted) !important; font-size: 11px !important; }
.ghpm-error button { margin: 3px auto 0; padding: 9px 16px; color: #fff; border: 0; border-radius: 2px; background: var(--ghpm-brand); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }

@keyframes ghpm-spin { to { transform: rotate(360deg); } }

.ghpm-panel { min-width: 0; height: 410px; overflow: hidden; border-left: 1px solid var(--ghpm-line); background: var(--ghpm-paper); }
.ghpm-panel-empty { display: flex; height: 100%; align-items: center; justify-content: center; flex-direction: column; padding: 36px; text-align: center; }
.ghpm-panel-pin { display: grid; width: 48px; height: 48px; margin-bottom: 16px; place-content: center; color: var(--ghpm-brand); border: 1px solid var(--ghpm-line); border-radius: 2px; background: var(--ghpm-soft); }
.ghpm-panel-pin svg { width: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.ghpm-panel-empty strong { color: var(--ghpm-ink); font-size: 15px; font-weight: 600; }
.ghpm-panel-empty p { margin: 8px 0 0 !important; color: var(--ghpm-muted) !important; font-size: 11px !important; line-height: 1.8 !important; }

.ghpm-panel-head { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--ghpm-line); background: #fff; }
.ghpm-panel-head span { color: var(--ghpm-brand); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.ghpm-panel-head h3 { margin: 2px 0 0 !important; color: var(--ghpm-ink) !important; font-size: 19px !important; font-weight: 600 !important; }
.ghpm-panel-head > b { display: flex; min-width: 52px; height: 36px; align-items: baseline; justify-content: center; padding-top: 8px; color: #fff; border-radius: 2px; background: var(--ghpm-brand); font-family: "Helvetica Neue", Arial, sans-serif; font-size: 17px; font-weight: 700; }
.ghpm-panel-head > b small { margin-left: 2px; font-family: inherit; font-size: 8px; }
.ghpm-list { height: calc(410px - 76px); padding: 9px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #9dbfc9 transparent; scrollbar-width: thin; }

.ghpm-card { position: relative; display: grid; min-height: 104px; grid-template-columns: 92px minmax(0, 1fr) 18px; gap: 10px; align-items: center; margin-bottom: 8px; padding: 8px; color: inherit !important; border: 1px solid #cfe2e8; border-radius: 2px; background: #fff; text-decoration: none !important; transition: border-color .2s ease, box-shadow .2s ease; }
.ghpm-card:hover,
.ghpm-card:focus-visible { color: inherit !important; border-color: var(--ghpm-brand); outline: none; box-shadow: 0 7px 16px rgba(8, 93, 114, .09); }
.ghpm-card-image { display: grid; width: 92px; height: 86px; place-content: center; overflow: hidden; border-radius: 1px; background: var(--ghpm-soft); }
.ghpm-card-image img { width: 100%; height: 100%; object-fit: cover; }
.ghpm-card-image svg { width: 27px; fill: none; stroke: #6fa4b3; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.ghpm-card-body { min-width: 0; }
.ghpm-card-type { display: inline-block; margin-bottom: 4px; padding: 3px 6px; color: var(--ghpm-brand); border-radius: 1px; background: var(--ghpm-soft); font-size: 7px; font-weight: 700; }
.ghpm-card-body > strong { display: -webkit-box; overflow: hidden; color: var(--ghpm-ink); font-size: 11px; font-weight: 700; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ghpm-card-body > b { display: block; margin-top: 4px; color: var(--ghpm-brand-dark); font-size: 15px; font-weight: 700; }
.ghpm-card-body > small { display: block; margin-top: 3px; overflow: hidden; color: var(--ghpm-muted); font-size: 8px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.ghpm-card-traffic { opacity: .9; }
.ghpm-card-arrow { color: var(--ghpm-brand); font-size: 16px; font-weight: 700; }

.ghpm-foot { display: flex; min-height: 34px; align-items: center; padding: 8px 13px; border-top: 1px solid var(--ghpm-line); background: #fff; }
.ghpm-foot p { margin: 0 !important; color: var(--ghpm-muted) !important; font-size: 8px !important; line-height: 1.5 !important; }
.ghpm-section .leaflet-container { font-family: inherit; }
.ghpm-section .leaflet-control-attribution { font-size: 7px; }
.ghpm-section .leaflet-control-zoom a { color: var(--ghpm-ink) !important; text-decoration: none !important; }

.ghpm-section .ghpm-pin { background: transparent; border: 0; }
.ghpm-section .ghpm-pin span { position: relative; display: block; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 50% 50% 50% 5px; background: var(--ghpm-brand); box-shadow: 0 3px 8px rgba(5, 77, 94, .35); transform: rotate(-45deg); transition: width .15s ease, height .15s ease, background .15s ease, box-shadow .15s ease; }
.ghpm-section .ghpm-pin.is-selected { z-index: 800 !important; }
.ghpm-section .ghpm-pin.is-selected span { width: 24px; height: 24px; border-color: #fff; background: var(--ghpm-ink); box-shadow: 0 4px 12px rgba(22, 61, 81, .40); }
.ghpm-section .ghpm-tooltip { padding: 8px 10px; color: var(--ghpm-ink); border: 1px solid var(--ghpm-line); border-radius: 2px; box-shadow: 0 7px 16px rgba(22, 61, 81, .13); font-size: 10px; line-height: 1.55; }
.ghpm-section .ghpm-tooltip strong { color: var(--ghpm-brand); font-size: 11px; }

@media (max-width: 900px) {
  .ghpm-heading { padding: 21px 22px 19px; }
  .ghpm-body { grid-template-columns: minmax(0, 1fr) 310px; }
  .ghpm-panel { width: 310px; }
  .ghpm-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 760px) {
  .ghpm-section { margin: 20px 0 16px; }
  .ghpm-heading { min-height: 0; padding: 19px 16px 18px; border-radius: 2px 2px 0 0; }
  .ghpm-heading h2 { padding-right: 78px; font-size: 21px !important; }
  .ghpm-lead { padding-right: 76px; font-size: 9px !important; }
  .ghpm-live-count { position: absolute; right: 12px; bottom: 17px; display: grid; min-width: 66px; min-height: 56px; gap: 0; padding: 7px 8px; place-content: center; }
  .ghpm-live-count span { align-self: auto; margin: 0; font-size: 6px; }
  .ghpm-live-count strong { font-size: 19px; }
  .ghpm-live-count small { font-size: 6px; }
  .ghpm-shell { border-radius: 0 0 2px 2px; }
  .ghpm-toolbar { padding: 9px; overflow: hidden; }
  .ghpm-filter { width: 100%; gap: 5px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .ghpm-filter::-webkit-scrollbar { display: none; }
  .ghpm-filter button { min-width: max-content; min-height: 31px; padding: 7px 10px; }
  .ghpm-toolbar-note { font-size: 8px !important; }
  .ghpm-body { display: block; min-height: 0; }
  .ghpm-map { min-height: 320px; }
  .ghpm-panel { width: auto; height: 350px; border-top: 1px solid var(--ghpm-line); border-left: 0; }
  .ghpm-panel-head { min-height: 70px; padding: 11px 13px; }
  .ghpm-panel-head h3 { font-size: 17px !important; }
  .ghpm-panel-head > b { min-width: 48px; height: 34px; padding-top: 8px; font-size: 16px; }
  .ghpm-list { height: calc(350px - 70px); padding: 8px; }
  .ghpm-card { grid-template-columns: 84px minmax(0, 1fr) 16px; }
  .ghpm-card-image { width: 84px; height: 80px; }
  .ghpm-foot { padding: 8px 10px; }
  .ghpm-foot p { font-size: 7px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .ghpm-section *, .ghpm-section *::before, .ghpm-section *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
