/* ==========================================================================
   Flight planning on the mission board: four steps on tabs, and the
   preliminary load sheet. Uses the site's color tokens, so the classic and
   Load Sheet designs and the dark theme all follow automatically.
   ========================================================================== */
#missionBrowse[hidden] { display: none !important; }
#view-missions #dossier { max-width: 1280px; width: 100%; margin: 0 auto; overflow: hidden; }

/* ---------- header ---------- */
.dp-head { background: var(--panel-dark); color: #fff; padding: 14px 22px 0; }
.dp-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.dp-back, .dp-crew { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 5px 10px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 2px; }
.dp-back:hover, .dp-crew:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.dp-kind { opacity: .75; }
.dp-crew { margin-left: auto; }
.dp-head h2 { margin: 10px 0 0; font-size: 22px; color: #fff; }
.dp-route { display: flex; align-items: center; gap: 18px; margin: 8px 0 0; }
.dp-stn { display: grid; min-width: 0; }
.dp-stn small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .65; }
.dp-stn b { font-size: 30px; line-height: 1.05; letter-spacing: .01em; }
.dp-stn span { font-size: 13px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-stn a { font-size: 12px; color: #ffb3b3 !important; }
.dp-arrow { flex: 1 1 auto; min-width: 40px; max-width: 320px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 8px, transparent 8px 14px); position: relative; }
.dp-arrow i { position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid rgba(255,255,255,.8); border-right: 0; }
.dp-chips { display: flex; flex-wrap: wrap; margin: 12px -22px 0; border-top: 1px solid rgba(255,255,255,.14); }
.dp-chips > div { flex: 1 1 120px; padding: 8px 22px; border-right: 1px solid rgba(255,255,255,.14); }
.dp-chips > div:last-child { border-right: 0; }
.dp-chips span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; opacity: .65; }
.dp-chips b { font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dp-chips .dp-pay b { color: #7fe0a6; }
html[data-design="loadsheet"] .dp-stn b { font-family: var(--stencil); font-weight: 800; font-size: 36px; }

/* ---------- tabs ---------- */
.dp-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: var(--white); }
.dp-tabs button { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 8px 12px; background: none; border: 0; border-bottom: 3px solid transparent; font: inherit; font-weight: 650; font-size: 14.5px; color: var(--steel); cursor: pointer; min-width: 0; }
.dp-tabs button:hover { color: var(--ink); background: var(--paper); }
.dp-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.dp-tabs .n { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; border: 2px solid var(--line); background: var(--white); }
.dp-tabs button[aria-selected="true"] .n { border-color: var(--red); color: var(--red); }
.dp-tabs button.done .n { background: var(--red); border-color: var(--red); color: #fff; }
.dp-tab-copy { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.dp-step-status { display: block; font-size: 11px; font-weight: 600; color: var(--steel); }
.dp-tabs button.done .dp-step-status { color: var(--ok-ink); }
.dp-tabs button.attention .dp-step-status { color: var(--red); }
.dp-tabs button.attention .n { border-color: var(--red); color: var(--red); }
.dp-draft-note { margin: 0; padding: 10px 22px; border-bottom: 1px solid var(--line); background: var(--ok-wash); color: var(--ok-ink); font-size: 13px; max-width: none !important; }
.dp-blockers { margin: 16px 22px 0; padding: 10px 14px; border-left: 4px solid var(--amber); background: var(--note-wash); font-size: 14px; }
.dp-blockers ul { margin: 4px 0 0; padding-left: 18px; }
.dp-blockers li { margin: 4px 0; }
.dp-blockers .btn { margin-left: 6px; }

/* ---------- panes ---------- */
.dp-pane { padding: 20px 22px; display: flex; flex-direction: column; gap: 18px; min-height: 260px; outline: none; }
.dp-pane p { max-width: 70ch; }
.dp-h { margin: 0 0 6px; font-size: 15px; }
.dp-sub { font-size: 13px; margin: -2px 0 0; }
.dp-lead { margin: 0; font-size: 14.5px; }
.dp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--paper); position: sticky; bottom: 0; z-index: 2; }
.dp-more { border: 1px solid var(--line); background: var(--white); }
.dp-more > summary { padding: 10px 14px; cursor: pointer; font-weight: 650; }
.dp-more > summary .muted { font-weight: 400; font-size: 13px; }
.dp-more > :not(summary) { margin: 0 14px 14px; }
.dp-more > .ls-table-wrap { margin: 0; }
.dp-ready { font-size: 13.5px; color: var(--ok-ink); background: var(--ok-wash); padding: 9px 12px; border-left: 4px solid #25844b; max-width: none !important; }
.linkish { background: none; border: 0; padding: 0; color: var(--red); text-decoration: underline; cursor: pointer; font: inherit; }
html[data-theme="dark"] .linkish { color: #ff8f8f; }
.dp-operator { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); padding: 10px 14px; background: var(--white); font-size: 14px; }
.dp-operator img { height: 40px; width: auto; max-width: 180px; object-fit: contain; background: #fff; }
.dp-pane .px-cargo { margin: 0; }
.dp-plan-grid { display: flex; flex-direction: column; gap: 22px; }
.dp-plan-grid .ph-fuel { display: none; }   /* the fuel breakdown lives on the load sheet */

/* ---------- preliminary load sheet ---------- */
.ls-wrap { display: flex; flex-direction: column; gap: 16px; }
.ls-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ls-title h3 { margin: 3px 0 2px; font-size: 18px; }
.ls-title p { margin: 0; font-size: 13.5px; }
.ls-guide { border: 1px solid var(--line); border-left: 4px solid var(--red); background: var(--white); }
.ls-guide > summary { display: flex; align-items: center; gap: 11px; padding: 12px 14px; cursor: pointer; list-style: none; }
.ls-guide > summary::-webkit-details-marker { display: none; }
.ls-guide > summary::after { content: "Show guide"; margin-left: auto; color: var(--red); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ls-guide[open] > summary::after { content: "Hide guide"; }
.ls-guide > summary:focus-visible { outline: 2px solid var(--red); outline-offset: -3px; }
.ls-guide-icon { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; color: var(--red); border: 2px solid currentColor; font-weight: 800; }
.ls-guide > summary b, .ls-guide > summary small { display: block; }
.ls-guide > summary b { color: var(--ink); font-size: 14px; }
.ls-guide > summary small { color: var(--steel); font-size: 12px; margin-top: 2px; }
.ls-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ls-guide-grid section { padding: 13px 16px; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ls-guide-grid section:nth-child(2n) { border-right: 0; }
.ls-guide-grid h4 { color: var(--ink); margin: 0 0 5px; }
.ls-guide-grid p { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.55; max-width: none; }
.ls-guide-foot { margin: 0; padding: 10px 16px; color: var(--steel); font-size: 12px; max-width: none !important; }
.ls-payload-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--white); }
.ls-payload-summary > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 13px 16px; border-right: 1px solid var(--line); }
.ls-payload-summary > div:last-child { border-right: 0; }
.ls-payload-summary span { color: var(--steel); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.ls-payload-summary b { color: var(--ink); font-size: 21px; font-variant-numeric: tabular-nums; }
.ls-payload-summary small { color: var(--steel); font-size: 12px; }
.ls-payload-summary .ls-payload-total { background: var(--ok-wash); }
.ls-change { margin: 0 !important; max-width: none !important; padding: 10px 13px; border: 1px solid var(--line); border-left: 4px solid var(--red); background: var(--white); font-size: 13px; line-height: 1.5; }
@media (max-width: 650px) { .ls-guide-grid, .ls-payload-summary { grid-template-columns: 1fr; } .ls-guide-grid section { border-right: 0; } .ls-payload-summary > div { border-right: 0; border-bottom: 1px solid var(--line); } .ls-payload-summary > div:last-child { border-bottom: 0; } }
.ls-transfer { border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 12px 14px; background: var(--paper); }
.ls-transfer h4 { margin-bottom: 4px; }
.ls-transfer > p { margin: 0 0 9px; font-size: 13px; }
.ls-transfer > p.ls-transfer-breakdown { background: var(--white); border: 1px solid var(--line); padding: 9px 10px; line-height: 1.45; }
.ls-transfer-list { display: grid; gap: 5px; }
.ls-transfer-list label { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border: 1px solid var(--line); background: var(--white); font-size: 13px; cursor: pointer; }
.ls-transfer-list input { flex: 0 0 auto; }
.ls-transfer-list label > span { min-width: 0; }
.ls-transfer-list small { margin-left: auto; color: var(--steel); font-size: 11px; text-align: right; }
.ls-status { flex: 0 0 auto; font-size: 12.5px; font-weight: 700; padding: 5px 10px; text-transform: uppercase; letter-spacing: .05em; border: 1px solid; }
.ls-status.ok { color: var(--ok-ink); background: var(--ok-wash); border-color: currentColor; }
.ls-status.bad { color: var(--red); background: var(--red-wash); border-color: currentColor; }
.mono { font-family: var(--mono); }

.ls-deck { display: flex; align-items: stretch; border: 1px solid var(--line); background: var(--paper); overflow-x: auto; }
@media (max-width: 760px) { .ls-decks { min-width: max-content; } }
.ls-nose { flex: 0 0 auto; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; letter-spacing: .25em; color: var(--steel); padding: 8px 6px; border-right: 1px dashed var(--line); background: var(--white); border-radius: 0 40px 40px 0; }
.ls-decks { flex: 1 1 auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ls-deck-row { display: flex; flex-direction: column; gap: 4px; }
.ls-deck-label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--steel); }
.ls-cells { display: flex; gap: 3px; }
.ls-cells > * { flex: 1 1 0; min-width: 26px; max-width: 54px; }
.ls-cell { position: relative; height: 50px; border: 1px solid var(--line); background: var(--white); padding: 0; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; font: inherit; }
.ls-cell i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--c, #8a93a0); opacity: .85; }
.ls-cell span { position: relative; font-size: 9.5px; font-family: var(--mono); color: var(--ink); background: color-mix(in srgb, var(--white) 75%, transparent); padding: 0 2px; margin-bottom: 2px; line-height: 1.3; }
.ls-cell.empty { cursor: default; background: repeating-linear-gradient(-45deg, transparent 0 4px, var(--line) 4px 5px); }
.ls-cell:hover, .ls-cell.on { outline: 2px solid var(--ink); outline-offset: 1px; z-index: 1; }
.ls-deck-row:last-child .ls-cell { height: 34px; }
.ls-cell.gen { --c: #8a93a0; } .ls-cell.cool { --c: #2f80c9; } .ls-cell.val { --c: #c99a1c; }
.ls-cell.heavy { --c: #6c4fb4; } .ls-cell.avi { --c: #2f9d62; } .ls-cell.dg { --c: #c80000; border-color: #c80000; }
.ls-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; margin-top: 0; }
.ls-legend span:not(.muted)::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 5px; vertical-align: -1px; background: var(--c); }
.ls-legend .gen { --c: #8a93a0; } .ls-legend .cool { --c: #2f80c9; } .ls-legend .val { --c: #c99a1c; }
.ls-legend .heavy { --c: #6c4fb4; } .ls-legend .avi { --c: #2f9d62; } .ls-legend .dg { --c: #c80000; }

.ls-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ls-grid > section { background: var(--white); padding: 12px 14px; min-width: 0; }
.ls-wrap h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--steel); }
.ls-calc { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ls-calc td { padding: 3px 0; }
.ls-calc td:last-child { text-align: right; font-weight: 600; }
.ls-calc tr.sum td { border-top: 1px solid var(--ink); font-weight: 700; padding-bottom: 6px; }
.ls-calc tr.under td { border-top: 1px dashed var(--line); color: var(--steel); font-size: 13px; padding-top: 6px; }
.ls-gauge { margin-bottom: 10px; }
.ls-gauge:last-child { margin-bottom: 0; }
.ls-g-top { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; }
.ls-g-top b { margin-left: auto; font-variant-numeric: tabular-nums; }
.ls-g-top small { color: var(--steel); font-size: 12px; min-width: 112px; text-align: right; font-variant-numeric: tabular-nums; }
.ls-bar { height: 7px; background: var(--paper); border: 1px solid var(--line); margin: 3px 0 1px; }
.ls-bar i { display: block; height: 100%; background: #25844b; }
.ls-gauge.tight .ls-bar i { background: var(--amber); }
.ls-gauge.over .ls-bar i { background: var(--red); }
.ls-margin { font-size: 11.5px; color: var(--steel); }
.ls-gauge.over .ls-margin { color: var(--red); font-weight: 700; }
.ls-bal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; }
.ls-bal span { display: block; font-size: 12px; color: var(--steel); }
.ls-bal b { font-size: 16px; font-variant-numeric: tabular-nums; }
.ls-fine { font-size: 12px !important; margin: 8px 0 0 !important; max-width: none !important; }
.ls-dg { border: 1px solid var(--red); border-left-width: 4px; padding: 10px 14px; background: var(--red-wash); }
.ls-dg ul { margin: 0; padding-left: 18px; font-size: 13.5px; }
.ls-dg li { margin: 3px 0; }
.ls-dg .tag { margin-left: 0; }
.ls-table-wrap { max-height: 320px; overflow: auto; border-top: 1px solid var(--line); }
.ls-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.ls-table th { position: sticky; top: 0; background: var(--paper); text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--steel); padding: 7px 10px; z-index: 1; }
.ls-table td { padding: 6px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.ls-table .r { text-align: right; }
.ls-table tfoot td { font-weight: 700; border-top: 2px solid var(--ink); position: sticky; bottom: 0; background: var(--white); }
.ls-table tr.on td { background: var(--red-wash); }
.ls-table .mono { font-size: 12px; white-space: nowrap; }
.shc { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 4px; border: 1px solid var(--line); margin: 0 2px 2px 0; font-family: var(--mono); }
.shc.dg { color: var(--red); border-color: var(--red); }

/* OFP compared with the load sheet */
.ls-vs { margin-top: 10px; border: 1px solid var(--line); padding: 10px 12px; background: var(--white); font-size: 13.5px; }
.ls-vs table { width: 100%; max-width: 520px; border-collapse: collapse; margin: 6px 0; font-variant-numeric: tabular-nums; }
.ls-vs th { font-size: 11.5px; color: var(--steel); text-align: left; font-weight: 600; }
.ls-vs td, .ls-vs th { padding: 3px 8px 3px 0; }
.ls-vs .r { text-align: right; }
.ls-vs tr.warn td { color: var(--warn-ink); font-weight: 700; }

/* ---------- narrow screens ---------- */
@media (max-width: 760px) {
  .dp-head { padding: 12px 16px 0; }
  .dp-chips { margin: 12px -16px 0; }
  .dp-chips > div { padding: 8px 16px; flex-basis: 33%; border-bottom: 1px solid rgba(255,255,255,.14); }
  .dp-stn b { font-size: 24px; }
  .dp-tabs button { flex-direction: column; gap: 4px; font-size: 12px; padding: 10px 4px; text-align: center; }
  .dp-tab-copy { text-align: center; }
  .dp-step-status { font-size: 10px; }
  .dp-pane, .dp-foot { padding-left: 16px; padding-right: 16px; }
  .dp-blockers { margin: 14px 16px 0; }
  .ls-grid { grid-template-columns: 1fr; }
  .ls-bal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ls-title { flex-direction: column; }
  .ls-transfer-list label { align-items: flex-start; flex-wrap: wrap; }
  .ls-transfer-list small { margin-left: 26px; width: calc(100% - 26px); text-align: left; }
  .dp-crew { margin-left: 0; }
}
.ls-table { min-width: 640px; }
html[data-theme="dark"] .shc.dg, html[data-theme="dark"] .ls-status.bad { color: #ff8f8f; border-color: #ff8f8f; }
html[data-theme="dark"] .ls-wrap .kicker { color: #ff8f8f; }

/* discretionary extra fuel on the SimBrief step */
.sb-extra { display: grid; grid-template-columns: auto 140px 1fr; align-items: center; gap: 6px 12px; margin: 0 0 12px; font-size: 14px; }
.sb-extra label { font-weight: 650; }
.sb-extra label small { font-weight: 400; color: var(--steel); }
.sb-extra input { padding: 7px 9px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: inherit; width: 100%; }
.sb-extra > small { font-size: 12.5px; }
@media (max-width: 760px) { .sb-extra { grid-template-columns: 1fr 140px; } .sb-extra > small { grid-column: 1 / -1; } }

/* checkride result at the top of the pilot report */
.ck-banner { padding: 12px 14px; border-left: 5px solid; font-size: 14.5px; line-height: 1.5; margin: 6px 0 2px; }
.ck-banner.pass { border-color: #25844b; background: var(--ok-wash); color: var(--ok-ink); }
.ck-banner.fail { border-color: var(--red); background: var(--red-wash); color: var(--ink); }
.ck-banner b { font-size: 15.5px; }
/* checkride result in the logbook's Result column */
.lb-ck { display: inline-block; margin: 4px 0 0 !important; white-space: nowrap; cursor: help; }

/* Staff › Partner photos */
.pp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 12px; }
.pp-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.pp-img { aspect-ratio: 16 / 9; background: var(--paper); display: grid; place-items: center; overflow: hidden; color: var(--steel); font-size: 13px; }
.pp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-body { padding: 10px 12px 12px; font-size: 14px; }
.pp-body small { display: block; margin-top: 4px; font-size: 12px; color: var(--steel); overflow-wrap: anywhere; }
.pp-pick { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.pp-pick:hover, .pp-pick:focus-visible { box-shadow: 0 0 0 3px var(--red, #C80000); outline: none; }
.pp-pick.is-current { box-shadow: 0 0 0 3px #1f9d55; }
.pp-tag { display: inline-block; color: #1f9d55; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }

/* Downloads › livery filter and staff edit */
.dl-filter { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.dl-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dl-flabel { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--steel); margin-right: 4px; }
.dl-chip { font: inherit; font-size: 13px; padding: 5px 11px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; border-radius: 999px; min-height: 32px; }
.dl-chip:hover { border-color: var(--red, #C80000); }
.dl-chip[aria-pressed="true"] { background: var(--red, #C80000); border-color: var(--red, #C80000); color: #fff; }
.dl-count { font-size: 13px; margin-left: auto; }
.dl-row[hidden] { display: none !important; }
.dl-edit { width: 100%; }

/* Fleet divisions */
.div-head { margin: 34px 0 10px; padding-top: 14px; border-top: 3px solid var(--red, #C80000); }
.div-head h2 { margin: 0; text-transform: uppercase; letter-spacing: .02em; }
.div-head p { margin: 4px 0 0; max-width: 80ch; }
.mb-div { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--steel); margin-top: 2px; }

/* Home page footer */
.site-foot { margin: 48px 0 0; padding: 32px 32px 22px; background: #16181c; color: #c9ced6; font-size: 14px; line-height: 1.55; }
.site-foot .sf-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 28px; }
.site-foot h3 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.site-foot .sf-links { display: block; }
.site-foot .sf-links a { display: block; color: #c9ced6; text-decoration: none; padding: 2px 0; overflow-wrap: anywhere; }
.site-foot .sf-links a:hover, .site-foot .sf-links a:focus-visible { color: #fff; text-decoration: underline; }
.site-foot .sf-brand img { display: block; margin: 0 0 10px; height: auto; }
.site-foot .sf-brand p, .site-foot .sf-small p { margin: 0; }
.site-foot .sf-small p { font-size: 13px; color: #9aa1ab; }
.site-foot .sf-legal { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #2c3037; font-size: 12px; color: #8a919b; }
.site-foot .sf-legal + .sf-legal { margin-top: 4px; padding-top: 0; border-top: 0; }
@media (max-width: 900px) { .site-foot .sf-grid { grid-template-columns: 1fr 1fr; } .site-foot { padding: 24px 16px 18px; } }
@media (max-width: 520px) { .site-foot .sf-grid { grid-template-columns: 1fr; } }

/* Privacy policy */
.privacy { max-width: 78ch; }
.privacy .lead { font-size: 17px; }
.privacy section { margin: 26px 0 0; }
.privacy h2 { font-size: 20px; margin: 0 0 6px; }
.privacy li { margin: 0 0 6px; }
.ap-privacy { font-size: 13px; margin: 0; opacity: .85; }
.ap-privacy a { color: inherit; text-decoration: underline; }

/* First-visit privacy notice */
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9000; max-width: 760px; margin: 0 auto; display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap;
  padding: 14px 18px; background: #16181c; color: #e6e9ee; border-top: 3px solid var(--red, #C80000); box-shadow: 0 10px 30px rgba(0,0,0,.35); font-size: 14px; }
.consent-bar p { margin: 0; flex: 1 1 340px; }
.consent-bar a { color: #fff; text-decoration: underline; }
.consent-bar .btn.ghost { color: #fff; border-color: #6b7280; }
@media print { .consent-bar, .site-foot { display: none; } }

/* Full-width bands (the home page photo, the stats strip) were sized with 100vw, which on Windows includes the scrollbar,
   so the page came out a scrollbar's width too wide and showed a sideways scrollbar. --sbw is the scrollbar's width,
   measured by app.js. */
html:not([data-design="loadsheet"]) .hero { width: calc(100vw - var(--sbw, 0px)); margin-left: calc(50% - (100vw - var(--sbw, 0px)) / 2); }
html:not([data-design="loadsheet"]) .stat-band { width: calc(100vw - var(--sbw, 0px)); margin-left: calc(50% - (100vw - var(--sbw, 0px)) / 2); }

/* Public roster and flight log */
.ro-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 22px; }
.ro-sum > div { background: var(--white); padding: 14px 16px; }
.ro-sum span { display: block; font-size: 12px; color: var(--steel); text-transform: uppercase; letter-spacing: .05em; }
.ro-sum b { font-size: 24px; }
.ro-sec { margin: 0 0 28px; }
.ro-sec h2 { margin: 0 0 8px; }
.ro-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.ro-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ro-table th, .ro-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.ro-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--steel); background: var(--paper); }
.ro-table .num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .ro-sum { grid-template-columns: 1fr 1fr; } }
