/* The public port pages (scripts/port-pages.mjs), on top of guide.css: its tokens, header,
   footer, type and both themes. Copied to dist/guides/port-page.css by trial-post.mjs.
   John's order on the page: pilot, key data, max draft per terminal, reporting, inspections. */
.pp h1 { margin-bottom: 6px; }
.pp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 18px; color: var(--ink-2); font-size: 14px; }
.pp-chip { font: 600 12px var(--f-mono); color: var(--accent-hi); border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 999px; padding: 2px 9px; }
.pp-mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 13px; }

.pp-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; max-width: none !important; }
.pp-glance > div { background: var(--surface); padding: 12px 14px; display: grid; gap: 4px; align-content: start; }
.pp-glance b { font: 600 11px var(--f-mono); letter-spacing: .08em; color: var(--accent-hi); }
.pp-glance span { font-size: 14px; line-height: 1.45; }

.pp-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 4px; max-width: none !important; }
.pp-jump a { font-size: 13px; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; }
.pp-jump a:hover { color: var(--ink); border-color: var(--accent-line); }

.pp-sec { margin-top: 34px; scroll-margin-top: 16px; }
.pp-sh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 12px; max-width: none !important; }
.pp-sh h2 { margin: 0; }
.pp-upd { font: 12px var(--f-mono); color: var(--muted); white-space: nowrap; }
.pp-sec h3 { font-size: 15px; margin: 18px 0 6px; }
.pp-sec p { margin: 0 0 8px; }

.pp-fig { margin: 0 0 14px; max-width: none !important; }
.pp-chart { display: block; width: 100%; height: auto; border-radius: var(--r-2); border: 1px solid var(--line-strong); }
.pp-fig figcaption { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.pp-pts { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.pp-pts li { display: grid; gap: 1px; }
.pp-pts li span { font-size: 13px; color: var(--ink-2); }

.pp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; max-width: none !important; }
.pp-tiles > div { background: var(--surface); padding: 12px 14px; display: grid; gap: 4px; align-content: start; }
.pp-tiles b { font: 600 11px var(--f-mono); letter-spacing: .08em; color: var(--muted); }
.pp-tiles strong { font-size: 18px; }
.pp-tiles span { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.pp-tiles em { font-style: normal; font-size: 11.5px; color: var(--muted); }

.pp-tw { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-2); max-width: none !important; }
.pp-tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; }
.pp-tbl th { text-align: left; font: 500 11.5px var(--f-mono); color: var(--muted); padding: 8px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.pp-tbl td { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.pp-tbl tr:last-child td { border-bottom: 0; }
.pp-tbl .n { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-more { margin-top: 10px; }
.pp-more summary { cursor: pointer; color: var(--accent-hi); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.pp-note { font-size: 13px; color: var(--muted); margin-top: 8px !important; }
.pp-text { margin-top: 6px; }
