/* Partner kit: CelebPlanes and CelebYachts content in On the record's own style.
   Type, colour and rules come from site/styles.css (--ink, --paper, --wash, --quiet, --faint,
   --rail, --cite; Public Sans) and extend site/partners.css (.trk cards, .pbadge). The partner
   brings only its photos, its aircraft/hull silhouettes and a small logo credit that links back.
   Everything is scoped under .pk-*; nothing here styles html, body, header or footer.
   Load after styles.css. Also reuses styles.css .btn and .tally as they are. */

.pk-hub, .pk-assets, .pk-stories, .pk-cards, .pk-lines, .pk-from { --pk-on: var(--cite, #1F48B8); }
.pk-hub *, .pk-assets *, .pk-cards *, .pk-stories *, .pk-lines * { box-sizing: border-box; }
.pk-ic { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.125em; fill: currentColor; }

/* Status: live is footnote blue (as in partners.css .trk-st), stopped is ink, dark is quiet. */
.pk-card, .pk-asset, .pk-lines li { --pk-st: var(--quiet, #6B6B6B); }
:is(.pk-card, .pk-asset, .pk-lines li):is([data-status="active"], [data-status="under-way"]) { --pk-st: var(--pk-on); }
:is(.pk-card, .pk-asset, .pk-lines li):is([data-status="idle"], [data-status="at-rest"]) { --pk-st: var(--ink, #000); }
.pk-st { display: inline-flex; align-items: center; gap: 6px; color: var(--pk-st); font-weight: 600; }
.pk-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
[data-status="idle"] .pk-st::before, [data-status="at-rest"] .pk-st::before { background: none; box-shadow: inset 0 0 0 2px currentColor; }

/* Partner credit: the .pbadge pill from partners.css, as a link home. */
.pk-badge { display: inline-flex; align-items: center; gap: 5px; padding: 1px 7px 1px 3px; border: 1px solid var(--faint, #CFCFCA); border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--ink, #000); text-decoration: none; white-space: nowrap; vertical-align: 1px; text-transform: none; letter-spacing: 0; }
.pk-badge img { width: 16px; height: 16px; border-radius: 50%; display: block; }
a.pk-badge:hover { border-color: var(--ink, #000); }

/* ---------- hub: section head, numbers, cards, stories, side list ---------- */
.pk-hub { margin: 0 0 72px; }
.pk-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; border-top: 5px solid var(--ink, #000); padding-top: 12px; margin-bottom: 26px; }
.pk-head .pk-kick { flex-basis: 100%; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--quiet, #6B6B6B); }
.pk-head h2 { margin: 0; font-size: clamp(36px, 4.4vw, 56px); line-height: 1; letter-spacing: -.045em; font-weight: 800; max-width: none; }
.pk-head .btn { margin-left: auto; font-size: 15px; padding: 10px 16px; }
.pk-head .pk-dek { flex-basis: 100%; margin: 4px 0 0; padding-right: max(0px, calc(100% - 62ch)); font-size: 17px; line-height: 1.45; max-width: none; }
.pk-hub .tally { margin-bottom: 32px; }
.pk-cols { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; margin-top: 40px; }
.pk-side { border-top: 5px solid var(--ink, #000); padding-top: 14px; }
.pk-side h3, .pk-cols h3.pk-h { margin: 0 0 6px; font-size: 24px; letter-spacing: -.02em; font-weight: 800; }
.pk-cols h3.pk-h { border-top: 5px solid var(--ink, #000); padding-top: 14px; margin-bottom: 0; }

/* Asset cards: partners.css .trk, with the partner's photo where the map was. */
.pk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; }
.pk-card { position: relative; border-top: 2px solid var(--ink, #000); background: var(--paper, #fff); color: var(--ink, #000); }
.pk-card .pk-photo { display: block; margin-top: 10px; aspect-ratio: 3 / 2; width: 100%; height: auto; object-fit: cover; background: var(--wash, #F4F4F1); border: 1px solid var(--ink, #000); }
.pk-card .pk-nophoto { display: grid; place-items: center; margin-top: 10px; aspect-ratio: 3 / 2; background: var(--wash, #F4F4F1); border: 1px solid var(--faint, #CFCFCA); color: var(--pk-st); font-size: 72px; }
.pk-card .pk-body { padding: 10px 0 0; }
.pk-k { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet, #6B6B6B); }
.pk-k .pk-ic { width: 18px; height: 18px; color: var(--pk-st); }
.pk-card h3 { margin: 4px 0 2px; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; max-width: none; }
.pk-card h3 a, .pk-asset h3 a { color: inherit; text-decoration: none; }
.pk-card h3 a:hover, .pk-asset h3 a:hover { text-decoration: underline; }
.pk-who { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 15px; }
.pk-who img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--wash, #F4F4F1); }
.pk-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; margin: 12px 0 0; padding: 8px 0; border-top: 1px solid var(--faint, #CFCFCA); border-bottom: 1px solid var(--faint, #CFCFCA); font-variant-numeric: tabular-nums; }
.pk-facts dt { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet, #6B6B6B); }
.pk-facts dt .pk-ic { width: 13px; height: 13px; }
.pk-facts dd { margin: 2px 0 0; font-size: 17px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.pk-route { margin: 12px 0 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pk-route .pk-ic { width: 15px; height: 15px; margin-right: 6px; color: var(--quiet, #6B6B6B); }
.pk-live { margin: 10px 0 0; font-size: 14px; color: var(--quiet, #6B6B6B); }
.pk-live .pk-st { margin-right: 6px; }
.pk-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 0; font-size: 14px; font-weight: 600; }
.pk-foot a:not(.pk-badge) { color: var(--ink, #000); }
.pk-foot a:not(.pk-badge):hover { color: var(--cite, #1F48B8); }

/* Stories: styles.css .stories, with a 3:2 photo (as .hl-grid) and the partner credit. */
.pk-stories { list-style: none; margin: 8px 0 16px; padding: 0; border-top: 2px solid var(--ink, #000); }
.pk-stories > li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 18px; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--rail, #E9E9E6); max-width: none; }
.pk-stories > li.pk-noimg { grid-template-columns: minmax(0, 1fr); }
.pk-stories > li > img { width: 150px; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 4px; background: var(--wash, #F4F4F1); grid-row: span 3; }
.pk-stories .pk-t { font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--ink, #000); text-decoration: none; }
.pk-stories .pk-t:hover { text-decoration: underline; }
.pk-stories .pk-by { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: 14px; color: var(--quiet, #6B6B6B); }
.pk-stories .pk-sum { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; }
.pk-stories.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 24px; border-top: 0; }
.pk-stories.pk-grid > li { display: block; padding: 10px 0 0; border-top: 2px solid var(--ink, #000); border-bottom: 0; }
.pk-stories.pk-grid > li > img { width: 100%; margin-bottom: 10px; }
.pk-stories.pk-rail > li { grid-template-columns: 84px minmax(0, 1fr); gap: 0 12px; padding: 10px 0; }
.pk-stories.pk-rail > li > img { width: 84px; }
.pk-stories.pk-rail .pk-t { font-size: 15px; }
.pk-stories.pk-rail .pk-sum { display: none; }

/* Flights today / latest positions: styles.css .hm-lines. */
.pk-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.pk-lines li { border-bottom: 1px solid var(--rail, #E9E9E6); margin: 0; max-width: none; }
.pk-lines a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 0; color: var(--ink, #000); text-decoration: none; }
.pk-lines a:hover b { text-decoration: underline; text-decoration-thickness: 2px; }
.pk-lines .pk-k { grid-column: 1 / -1; font-size: 12px; }
.pk-lines b { font-size: 16px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.pk-lines small { font-size: 14px; color: var(--quiet, #6B6B6B); font-variant-numeric: tabular-nums; align-self: end; }

/* ---------- entity block: "Aircraft & yachts" (extends styles.css .assets/.asset) ---------- */
.pk-assets { margin: 24px 0; }
.pk-assets > h2 { margin: 0 0 4px; font-size: 26px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; max-width: none; }
.pk-assets > ul { list-style: none; margin: 12px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.pk-asset { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 12px; border-top: 2px solid var(--ink, #000); padding: 12px 0 18px; margin: 0; max-width: none; font-size: 15px; line-height: 1.45; }
.pk-asset .pk-thumb { width: 96px; height: 64px; object-fit: cover; background: var(--wash, #F4F4F1); border: 1px solid var(--ink, #000); }
.pk-asset .pk-thumb.pk-ic { padding: 10px; color: var(--pk-st); border-color: var(--faint, #CFCFCA); }
.pk-asset h3 { margin: 2px 0 2px; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; max-width: none; }
.pk-asset p { margin: 0; font-size: 14px; max-width: none; color: var(--quiet, #6B6B6B); }
.pk-asset p.pk-route { color: var(--ink, #000); font-size: 15px; font-variant-numeric: tabular-nums; margin-top: 4px; }
.pk-asset .pk-live { margin-top: 4px; }
.pk-tracked { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0; font-size: 14px; color: var(--quiet, #6B6B6B); max-width: none; }
.pk-tracked a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink, #000); font-weight: 600; }
.pk-tracked img { width: 16px; height: 16px; border-radius: 50%; }
/* Inside a profile's .p-body, beat its h2/h3/p/li rules the way partners.css does for .trk. */
.p-body .pk-assets > h2 { margin: 0 0 4px; font-size: 26px; }
.p-body .pk-assets > ul { padding-left: 0; }
.p-body .pk-asset h3 { margin: 2px 0; font-size: 18px; }
.p-body .pk-assets li, .p-body .pk-asset p, .p-body .pk-tracked { margin: 0; max-width: none; font-size: 14px; line-height: 1.45; }
.p-body .pk-asset p.pk-route { font-size: 15px; margin-top: 4px; }
.p-body .pk-stories > li { font-size: inherit; line-height: inherit; margin: 0; }
.p-body .pk-from { margin: 16px 0 0; font-size: 13px; line-height: 1.5; max-width: none; }

/* ---------- rail footer ---------- */
.pk-from { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 16px 0 0; padding-top: 10px; border-top: 1px solid var(--rail, #E9E9E6); font-size: 13px; color: var(--quiet, #6B6B6B); }

@media (max-width: 900px) {
  .pk-cols { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 600px) {
  .pk-assets > ul { grid-template-columns: minmax(0, 1fr); }
  .pk-asset { grid-template-columns: 72px minmax(0, 1fr); }
  .pk-asset .pk-thumb { width: 72px; height: 48px; }
  .pk-stories > li { grid-template-columns: 96px minmax(0, 1fr); gap: 0 12px; }
  .pk-stories > li > img { width: 96px; }
  .pk-stories.pk-grid > li > img { width: 100%; }
  .pk-head .btn { margin-left: 0; }
  .pk-hub .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pk-ours{margin:4px 0 0;font-size:14px;font-weight:700}
.pk-ours a{color:var(--ink)}
.pk-hub .pk-more{display:block;margin:20px auto 8px}
.pk-updated{margin:10px 0 0;font-size:13px;color:var(--quiet)}
