.pgh {
  color: var(--ink, #1d3228);
  background: var(--paper, #f8f6ed);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  line-height: 1.45;
}
.pgh-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem 2rem;
  padding: 1.35rem clamp(1rem, 3vw, 3rem) 1.1rem;
  border-bottom: 1px solid var(--line, #bdc6b3);
}
.pgh h2, .pgh h3, .pgh dt, .pgh dd, .pgh p { margin: 0; }
.pgh h2, .pgh h3 { font: 580 clamp(1.7rem, 3.2vw, 2.8rem)/1.04 Archivo, system-ui, sans-serif; letter-spacing: -.055em; }
.pgh-head p { color: var(--muted, #526153); margin-top: .35rem; font-size: .9rem; }
.pgh-city { display: flex; gap: clamp(1.4rem, 4vw, 3.5rem); margin: 0; }
.pgh-city dt, .pgh-inspector label {
  display: block;
  color: var(--muted, #526153);
  font: 630 .72rem/1.4 Archivo, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .055em;
}
.pgh-city dd { font: 590 clamp(1.35rem, 2.2vw, 1.8rem)/1.2 Archivo, system-ui, sans-serif; letter-spacing: -.045em; }
.pgh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(275px, 28%); border-bottom: 1px solid var(--line, #bdc6b3); }
.pgh-map-panel { min-width: 0; border-right: 1px solid var(--line, #bdc6b3); }
.pgh-lenses {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem;
  padding: .42rem clamp(.65rem, 2vw, 2rem);
  border-bottom: 1px solid var(--line, #bdc6b3);
  background: #edf0e3;
}
.pgh-lenses button {
  border: 0;
  color: var(--ink, #1d3228);
  background: transparent;
  border-radius: 2px;
  padding: .43rem .64rem;
  font: inherit;
  font-size: .85rem;
  line-height: 1.2;
  cursor: pointer;
}
.pgh-lenses button:hover { background: #dadfcd; }
.pgh-lenses button[aria-pressed="true"] { background: #234938; color: #fff9e9; }
.pgh-stage { position: relative; background: #eceee2; }
.pgh-map { display: block; width: 100%; height: clamp(340px, 56vh, 680px); }
.pgh-shape { cursor: pointer; stroke: #59695c; stroke-width: .65; fill-rule: evenodd; stroke-linejoin: round; }
.pgh-shape:hover { stroke: #1a372a; stroke-width: 2; }
.pgh-outline { fill: none; stroke: #112f26; stroke-width: 2.8; stroke-linejoin: round; pointer-events: none; }
.pgh-north {
  position: absolute;
  right: .9rem;
  top: .75rem;
  color: #465a47;
  font: 600 .74rem/1.1 Archivo, system-ui, sans-serif;
  letter-spacing: .07em;
  pointer-events: none;
}
.pgh-tip {
  position: absolute;
  padding: .22rem .45rem;
  background: #203c30;
  color: #fff9e9;
  font-size: .78rem;
  border-radius: 2px;
  max-width: calc(100% - .5rem);
  pointer-events: none;
}
.pgh-legend { padding: .45rem clamp(.75rem, 2vw, 2rem) .6rem; border-top: 1px solid var(--line, #bdc6b3); background: #f1f2e6; }
.pgh-legend strong { display: block; font-size: .79rem; font-weight: 610; }
.pgh-legend ul { display: flex; flex-wrap: wrap; gap: .2rem 1rem; padding: 0; margin: .22rem 0 0; list-style: none; }
.pgh-legend li { display: flex; align-items: center; gap: .35rem; font-size: .74rem; }
.pgh-legend i { box-sizing: border-box; width: .8rem; height: .8rem; border: 1px solid #728172; }
.pgh-inspector { padding: 1.1rem clamp(1rem, 2.3vw, 2rem); min-width: 0; }
.pgh-inspector select { width: 100%; margin-top: .3rem; border: 1px solid #a9b2a3; padding: .46rem; background: #fffef8; color: inherit; font: inherit; font-size: .9rem; }
.pgh-detail { margin-top: 1.45rem; }
.pgh h3 { font-size: clamp(1.6rem, 2.75vw, 2.6rem); }
.pgh-change { margin-top: .65rem !important; font-size: .9rem; }
.pgh-change strong { font: 600 1.4rem/1.2 Archivo, system-ui, sans-serif; }
.pgh-negative { color: #854731; }
.pgh-positive { color: #2e624b; }
.pgh-years { margin: 1.2rem 0 .6rem; display: grid; gap: .65rem; }
.pgh-years div { display: grid; grid-template-columns: 1fr auto; gap: .18rem .5rem; font-size: .86rem; }
.pgh-years b { font-weight: 620; font-variant-numeric: tabular-nums; }
.pgh-years i { display: block; grid-column: 1/-1; background: #749881; height: .36rem; }
.pgh-years div:last-child i { background: #3c705c; }
.pgh-employment { display: grid; grid-template-columns: 1fr auto; gap: .13rem .55rem; margin-top: 1.2rem; padding-top: .6rem; border-top: 1px solid var(--line, #bdc6b3); font-size: .87rem; }
.pgh-employment small { grid-column: 1/-1; color: var(--muted, #526153); }
.pgh-caption, .pgh-provenance { color: var(--muted, #526153); font-size: .84rem; }
.pgh-provenance { margin: 1.7rem 0 0 !important; border-top: 1px solid var(--line, #bdc6b3); padding-top: .7rem; }
.pgh-sources { padding: .75rem clamp(1rem, 3vw, 3rem); font-size: .83rem; }
.pgh-sources summary { color: var(--green, #315f49); cursor: pointer; width: fit-content; text-decoration: underline; text-underline-offset: .12em; }
.pgh-sources p { max-width: 85ch; margin: .55rem 0; }
.pgh-source-links { display: flex; gap: .45rem 1.2rem; flex-wrap: wrap; }
.pgh a { color: var(--green, #315f49); }
.pgh-error { padding: 1.5rem; }
@media (max-width: 720px) {
  .pgh-head { align-items: flex-start; padding: .9rem 1rem; }
  .pgh-grid { display: block; }
  .pgh-map-panel { border: 0; }
  .pgh-map { height: auto; max-height: 67vh; aspect-ratio: 720/580; }
  .pgh-inspector { border-top: 1px solid var(--line, #bdc6b3); }
  .pgh-detail { margin-top: .75rem; }
  .pgh-legend ul { column-gap: .65rem; }
  .pgh-provenance { margin-top: .9rem !important; }
}
@media (max-width: 380px) {
  .pgh-lenses button { padding: .4rem .35rem; font-size: .8rem; }
  .pgh-legend li { font-size: .7rem; }
}
