.herd-panel { min-width: 0; }
.herd-panel + .herd-panel,.herd-grid + .herd-panel,.herd-panel + .herd-grid,.herd-grid + .herd-grid { margin-top: 16px; }
.herd-grid { align-items: start; }
.herd-grid .herd-panel { margin-top: 0; }
.herd-count { font-size: .79rem; color: #5c6c60; white-space: nowrap; }
.herd-link,.herd-back { color: #285137; text-decoration-thickness: 1px; text-underline-offset: .17em; }
.herd-link { font-weight: 650; }
.herd-link:hover,.herd-back:hover { text-decoration: underline; }
.herd-back { display: inline-block; margin: 0 0 13px; font-size: .84rem; }
.herd-metrics { display: flex; flex-wrap: wrap; margin: 0 0 18px; border: 1px solid #dfe4da; border-radius: 12px; background: #fff; overflow: hidden; }
.herd-metrics > div { display: flex; flex: 1 1 120px; flex-direction: column; gap: 3px; padding: 15px 19px; border-left: 1px solid #e7eae3; }
.herd-metrics > div:first-child { border: 0; }
.herd-metrics b { font-size: 1.21rem; color: #244834; letter-spacing: -.025em; }
.herd-metrics span,.herd-sub,.herd-caption,.herd-note { color: #5b6b5e; }
.herd-metrics span,.herd-sub,.herd-caption { font-size: .78rem; }
.herd-sub { display: block; margin-top: 3px; white-space: nowrap; font-weight: 400; }
.herd-filters { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; margin: 0 0 18px; }
.herd-field { display: inline-flex; flex-flow: column; gap: 5px; max-width: 100%; width: max-content; font-size: .78rem; font-weight: 600; color: #46584a; }
.herd-field input,.herd-field select { box-sizing: border-box; padding: 8px 12px; min-height: 38px; max-width: 100%; border: 1px solid #cbd4c9; border-radius: 7px; background: #fff; color: #213e28; font: inherit; font-weight: 450; font-size: .88rem; }
.herd-field input[type="search"] { width: 235px; }
.herd-panel > .herd-field { margin-bottom: 13px; }
.herd-table { width:100%; }
.herd-table th,.herd-table td { vertical-align: top; }
.herd-empty,.herd-note { padding: 14px 0; font-size: .89rem; line-height: 1.5; }
.herd-note { margin: 0; }
.herd-facts { margin:0; }
.herd-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid #e9ece6; font-size:.89rem; }
.herd-facts > div:last-child { border:0; }
.herd-facts dt { color: #5b6b5e; }
.herd-facts dd { margin: 0; font-weight: 550; text-align: right; }
.herd-profile { display: flex; align-items: center; gap: 13px; padding: 16px 19px; background: #eef2e9; border: 1px solid #dce4d7; border-radius: 12px; margin: 0 0 16px; }
.herd-avatar { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: #d9e4cb; color: #365538; font: 600 1.5rem Georgia,serif; }
.herd-profile strong,.herd-profile > div:nth-child(2) > span { display:block; }
.herd-profile > div:nth-child(2) > span { font-size:.82rem; margin-top:4px; }
.herd-profile-badges { margin-left:auto; display: flex; flex-wrap: wrap; gap: 5px; }
.herd-place-intro { display:flex; align-items:baseline; gap:12px; margin: 0 0 16px; font-size:.92rem; line-height:1.5; }
.herd-batch summary { font-weight: 650; color: #315d40; cursor: pointer; white-space: nowrap; }
.herd-batch > div { margin: 7px 0; max-width: 320px; line-height: 1.6; }
.herd-map { overflow: hidden; background: #e8e9d7; border: 1px solid #d1d9c5; border-radius: 12px; }
.herd-map svg { display:block; width:100%; height:auto; max-height:440px; }
.herd-map svg a { cursor: pointer; }
.herd-map-field { stroke: #98a782; stroke-width: 1.5; stroke-linejoin: round; }
.herd-map-field.selected,.herd-map a:hover .herd-map-field,.herd-map a:focus-visible .herd-map-field { stroke: #436841; stroke-width: 4; }
.herd-map-tag > g > rect:first-child:not([fill]) { fill: #fcfcf4; fill-opacity: .94; stroke: #a6b29b; stroke-width: .8; }
.herd-map-tag:hover > g > rect:first-child:not([fill]),.herd-map-tag:focus-visible > g > rect:first-child:not([fill]) { stroke: #31543d; stroke-width: 2; }
.herd-map-tag text { font-family: system-ui,sans-serif; font-weight: 650; font-size: 12px; fill: #324632; }
.herd-map-tag .herd-map-sub { font-size: 10px; font-weight: 500; fill: #5a6851; }
.herd-caption { margin: 10px 0 0; }
@media (max-width: 600px) {
  .herd-metrics { display:grid; grid-template-columns: 1fr 1fr; }
  .herd-metrics > div,.herd-metrics > div:first-child { padding: 12px; border: 0; border-bottom: 1px solid #e7eae3; }
  .herd-field,.herd-search,.herd-field input[type="search"] { width:100%; }
  .herd-filters { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .herd-search { grid-column:1/-1; }
  .herd-profile { flex-wrap: wrap; }
  .herd-map-tag text { font-size: 13px; }
}
.herd-withdrawal { background: #f5ebd5; color: #785922; padding: 10px 13px; margin: 0 0 12px; border-radius: 8px; font-size:.86rem; }
.herd-withdrawal .herd-link { color: inherit; }
