#people-tile-panel {
  order: 1; flex: 0 1 auto; min-height: 0; pointer-events: auto;
  width: 340px; max-width: 100%;
  display: flex; flex-direction: column; box-sizing: border-box; padding: 10px 12px;
  border: 1px solid rgba(151, 201, 222, .35); border-radius: 7px;
  background: rgba(5, 28, 35, .94); color: #e8f4f6;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .28);
  font: 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
#people-tile-panel[hidden] { display: none; }
#people-tile-panel .pt-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #9edfff; letter-spacing: .08em; margin-bottom: 7px; }
#people-tile-panel #pt-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
#people-tile-panel p { margin: 4px 0 8px; color: #b8ced3; font-size: 11px; line-height: 1.35; }
#people-tile-panel .pt-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; margin-left: 6px; }
#people-tile-panel .pt-row {
  display: grid; grid-template-columns: 1.3fr .5fr .9fr .8fr .9fr .8fr; gap: 6px;
  padding: 2px 0 2px 6px; border-left: 3px solid transparent;
}
#people-tile-panel .pt-loaded { color: #9ee6a8; }
#people-tile-panel .pt-loading { color: #ffd479; }
#people-tile-panel .pt-none { color: #b8ced3; }
#people-tile-panel button {
  border: 1px solid #6c9db1; border-radius: 4px; background: transparent;
  color: #e8f4f6; cursor: pointer; font: inherit; min-width: 22px; height: 22px;
}
#people-tile-panel button:hover, #people-tile-panel button:focus-visible { background: #205264; }
#people-tile-panel.collapsed { width: auto; }
#people-tile-panel.collapsed .pt-head { margin: 0; }
#people-tile-panel.collapsed #pt-body { display: none; }
#people-tile-panel #pt-limits { display: grid; gap: 6px; margin-bottom: 6px; }
#people-tile-panel .pt-limit { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #b8ced3; font-size: 11px; }
#people-tile-panel .pt-limit input { width: 64px; box-sizing: border-box; padding: 2px 4px; border: 1px solid rgba(151, 201, 222, .35); border-radius: 4px; background: rgba(0, 0, 0, .25); color: #e8f4f6; font: inherit; }
#people-tile-panel #pt-reset { justify-self: start; width: auto; padding: 2px 8px; }
