/* Planes, yachts and the partner reports, in On the record's own type and rules.
   CelebPlanes / CelebYachts appear only as their icons, photos and a small source badge. */

/* ---------- cards on people pages ---------- */
.trk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 16px 0 12px; }
.trk-grid.one { grid-template-columns: minmax(0, 460px); }
.trk { border-top: 2px solid var(--ink); background: var(--paper); }
.trk-map { position: relative; height: 150px; overflow: hidden; background: var(--wash); margin-top: 10px; }
.trk-map > img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; }
.trk-map > img.trk-ic { filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1px #fff); transform-origin: 50% 50%; }
.trk-line { position: absolute; inset: 0; pointer-events: none; }
.trk-line .cas { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.trk-line .ink { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 4; stroke-linecap: round; }
.trk-attr { position: absolute; right: 4px; bottom: 2px; font-size: 10px; color: var(--quiet); background: rgba(255,255,255,.8); padding: 0 3px; }
.trk-body { padding: 10px 0 0; }
.trk-top { display: flex; gap: 12px; align-items: flex-start; }
.trk-photo { flex: none; width: 96px; height: 64px; object-fit: cover; background: var(--wash); }
.p-body .trk h3 { margin: 2px 0 2px; font-size: 18px; line-height: 1.2; }
.p-body .trk p { margin: 0; max-width: none; }
.trk-k, .trk-lbl { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.trk-st { color: var(--quiet); }
.trk[data-status="active"] .trk-st, .trk[data-status="under-way"] .trk-st { color: var(--cite); }
.p-body .trk .trk-meta { font-size: 14px; color: var(--quiet); }
.p-body .trk .trk-live { font-size: 15px; line-height: 1.45; margin: 10px 0 0; }
.p-body .trk .trk-lbl { margin: 14px 0 4px; }
.p-body .trk-trips { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--faint); }
.p-body .trk-trips li { margin: 0; font-size: 14px; border-bottom: 1px solid var(--faint); }
.trk-trips a { display: grid; grid-template-columns: 4.2em 1fr auto; gap: 8px; padding: 6px 0; color: var(--ink); text-decoration: none; }
.trk-trips a:hover .r { text-decoration: underline; }
.trk-trips .d, .trk-trips .t { color: var(--quiet); font-variant-numeric: tabular-nums; }
.p-body .trk .trk-more { margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.trk-more a { color: var(--ink); }

/* ---------- source badge ---------- */
.pbadge { display: inline-flex; align-items: center; gap: 5px; padding: 1px 7px 1px 3px; margin-right: 6px; border: 1px solid var(--faint); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; vertical-align: 1px; }
.pbadge img { width: 16px; height: 16px; border-radius: 50%; }

/* ---------- republished report pages ---------- */
.pr-kick { display: flex; align-items: center; gap: 4px; margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pr-kick .pbadge { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 13px; }
.pr-head h1 { max-width: 22ch; }
.pr-hero { margin: 0 0 20px; }
.pr-hero img { display: block; width: 100%; height: auto; background: var(--wash); }
.pr-hero figcaption, .pr-plane figcaption { font-size: 13px; color: var(--quiet); margin-top: 6px; }
.pr-prose { font-size: 19px; line-height: 1.6; }
.pr-prose p { margin: 0 0 20px; max-width: 64ch; }
.pr-prose h2 { margin: 36px 0 12px; font-size: 26px; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
.pr-prose h3 { margin: 24px 0 8px; font-size: 19px; font-weight: 800; }
.pr-prose a { color: var(--cite); }
.pr-prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; font-variant-numeric: tabular-nums; }
.pr-prose th, .pr-prose td { text-align: left; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--faint); vertical-align: top; }
.pr-prose thead th { border-bottom: 2px solid var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.pr-prose img { max-width: 100%; height: auto; }
.pr-prose figure { margin: 24px 0; }
.pr-aside .pr-h { margin: 0 0 10px; font-size: 20px; font-weight: 800; border-top: 5px solid var(--ink); padding-top: 12px; }
.pr-aside .pr-h ~ .pr-h { margin-top: 28px; }
.pr-plane { margin: 0 0 20px; }
.pr-plane img { display: block; width: 100%; height: auto; }
.pr-map { border-top: 0; margin-bottom: 8px; }
.pr-map .trk-map { margin-top: 0; height: 160px; }
.p-body .pr-facts li, .pr-facts li { display: block; font-size: 15px; padding: 8px 0; }
.pr-facts li b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.pr-facts li a b { font-size: 15px; text-transform: none; letter-spacing: 0; }

@media (max-width: 900px) {
  .pr-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .trk-grid, .trk-grid.one { grid-template-columns: minmax(0, 1fr); }
  .trk-photo { width: 72px; height: 48px; }
}
