/* ---------------------------------------------------------------------
   Briefing tab.

   Sizes are in px throughout. The rest of the app writes rem against bootstrap 3's 10px root,
   which makes 1.4rem mean 14px here and 22px anywhere else; px says what it means.

   Colour is used for one job on this page: status. Green, amber and red mean ok, check and
   problem and nothing else is allowed to be those colours, so a red cell in the nav log reads
   the same as a red tile at the top. Gold is the app's title colour and stays for titles.
   -----------------------------------------------------------------------*/

.briefing {
  --bf-ok: #37c978;
  --bf-caution: #f2b53a;
  --bf-stop: #f2605c;
  --bf-info: #63a8ff;
  --bf-unknown: #8d8aa6;
  --bf-gold: rgb(228, 195, 47);
  --bf-text: #e9e8f3;
  --bf-dim: #a9a6c2;
  --bf-faint: #7d7a99;
  --bf-card: rgba(255, 255, 255, 0.045);
  --bf-line: rgba(255, 255, 255, 0.09);
  --bf-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;

  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 48px;
  text-align: left;
  color: var(--bf-text);
  font-size: 14px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.briefing p { margin: 0; }
.briefing h1, .briefing h2 { margin: 0; font-weight: 700; }
.briefing button { font-family: inherit; }

/* ---- empty state ---- */

.bfEmpty {
  max-width: 520px;
  margin: 8vh auto 0;
  text-align: center;
}
.bfEmptyArt svg { width: 150px; height: 75px; }
.bfEmptyArt path { fill: none; stroke: var(--bf-gold); stroke-width: 2; stroke-dasharray: 5 5; stroke-linecap: round; }
.bfEmptyArt circle { fill: #0e0c1b; stroke: var(--bf-gold); stroke-width: 2; }
.bfEmptyTitle { font-size: 22px; font-weight: 700; color: var(--bf-gold); margin-top: 8px !important; }
.bfEmptyText { color: var(--bf-dim); margin: 10px 0 20px !important; font-size: 15px; }

/* ---- header ---- */

.bfHeader {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 6px 2px 18px;
}
.bfEyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bf-gold);
  font-weight: 700;
}
.bfRouteTitle {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
  margin-top: 2px !important;
}
.bfArrow { color: var(--bf-faint); font-weight: 400; }
.bfRouteSub { color: var(--bf-dim); margin-top: 6px !important; }

.bfHeaderStats { display: flex; gap: 28px; flex-wrap: wrap; }
.bfStat { text-align: right; }
.bfStatValue { font-size: 26px; font-weight: 700; color: #fff; line-height: 1.1; }
.bfStatValue small { font-size: 13px; font-weight: 500; color: var(--bf-dim); }
.bfStatLabel { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bf-faint); margin-top: 3px !important; }

/* ---- toolbar ---- */

.bfToolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 22px;
  padding: 14px 16px;
  background: var(--bf-card);
  border: 1px solid var(--bf-line);
  border-radius: 14px;
}
.bfField { display: flex; flex-direction: column; gap: 6px; }
.bfLabel { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bf-faint); font-weight: 600; margin: 0; }
.bfDepartRow { display: flex; align-items: center; gap: 6px; }
.bfUnit { color: var(--bf-dim); font-size: 13px; margin-right: 6px; }
.bfToolbarActions { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.bfWindNote { flex-basis: 100%; color: var(--bf-dim); font-size: 13px; }

.bfInput {
  height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
  font-size: 14px;
  color-scheme: dark;
}
.bfInput:focus-visible { outline: 2px solid var(--bf-gold); outline-offset: 1px; }
.bfInputShort { width: 76px; }

.bfButton, .bfChip, .bfSegmentButton {
  height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--bf-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.bfButton:hover, .bfChip:hover, .bfSegmentButton:hover { background: rgba(255, 255, 255, 0.13); }
.bfButton:focus-visible, .bfChip:focus-visible, .bfSegmentButton:focus-visible, .bfTile:focus-visible, .bfLink:focus-visible { outline: 2px solid var(--bf-gold); outline-offset: 2px; }
.bfButtonPrimary { background: var(--bf-gold); border-color: var(--bf-gold); color: #1a1530; }
.bfButtonPrimary:hover { background: #f0d458; }
.bfChip { padding: 0 10px; font-weight: 500; color: var(--bf-dim); }

.bfSegment { display: inline-flex; border-radius: 9px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); }
.bfSegmentButton { border: 0; border-radius: 0; background: rgba(0, 0, 0, 0.28); color: var(--bf-dim); border-left: 1px solid rgba(255, 255, 255, 0.1); }
.bfSegmentButton:first-child { border-left: 0; }
.bfSegmentButton.bfSegmentOn { background: rgba(228, 195, 47, 0.18); color: #fff; box-shadow: inset 0 -2px 0 var(--bf-gold); }

.bfLink {
  background: none; border: 0; padding: 0;
  color: var(--bf-info); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

/* ---- status tiles ---- */

.bfTiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.bfTile {
  --tile: var(--bf-unknown);
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  padding: 12px 14px 13px;
  border-radius: 12px;
  border: 1px solid var(--bf-line);
  border-left: 4px solid var(--tile);
  background: var(--bf-card);
  color: var(--bf-text);
  cursor: pointer;
  min-height: 104px;
  transition: background-color 0.15s, transform 0.15s;
}
.bfTile:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
.bfTile-ok { --tile: var(--bf-ok); }
.bfTile-caution { --tile: var(--bf-caution); }
.bfTile-stop { --tile: var(--bf-stop); background: rgba(242, 96, 92, 0.10); }
.bfTile-info { --tile: var(--bf-info); }
.bfTile-loading { --tile: var(--bf-unknown); }
.bfTile-loading .bfTileValue { animation: bfPulse 1.2s ease-in-out infinite; }

.bfTileTop { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bfTileName { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bf-dim); font-weight: 600; }
.bfTileBadge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px;
  color: var(--tile); border: 1px solid var(--tile);
}
.bfTile-stop .bfTileBadge, .bfTile-caution .bfTileBadge { background: var(--tile); color: #17132b; }
.bfTileValue { font-size: 20px; font-weight: 700; color: #fff; line-height: 1.2; }
.bfTileDetail { font-size: 12.5px; color: var(--bf-dim); line-height: 1.35; }

.bfVerdict { margin: 12px 2px 4px !important; font-size: 15px; font-weight: 600; padding-left: 12px; border-left: 3px solid var(--bf-unknown); }
.bfVerdict-ok { border-color: var(--bf-ok); color: #c9f3dc; }
.bfVerdict-caution { border-color: var(--bf-caution); color: #fbe6b3; }
.bfVerdict-stop { border-color: var(--bf-stop); color: #ffd2d0; }
.bfVerdict-unknown, .bfVerdict-loading { color: var(--bf-dim); }

@keyframes bfPulse { 50% { opacity: 0.45; } }

/* ---- cards ---- */

.bfCard {
  background: var(--bf-card);
  border: 1px solid var(--bf-line);
  border-radius: 14px;
  padding: 16px 18px 18px;
  margin-top: 14px;
  min-width: 0;
  scroll-margin-top: calc(var(--topnav-height, 52px) + 12px);
}
.bfGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.bfCardHead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; margin-bottom: 12px; }
.bfCardTitle { font-size: 18px; color: var(--bf-gold); }
.bfCardHint { color: var(--bf-faint); font-size: 12.5px; }
.bfCard .bfButton { margin-top: 14px; }
.bfCard .bfLink { margin-top: 10px; }

.bfLoading { color: var(--bf-dim); animation: bfPulse 1.2s ease-in-out infinite; }
.bfMissing { color: var(--bf-caution); margin-top: 8px !important; font-size: 13.5px; }
.bfAllClear { color: #c9f3dc; padding-left: 12px; border-left: 3px solid var(--bf-ok); }
.bfFootnote { color: var(--bf-faint); font-size: 12.5px; margin-top: 12px !important; }
.bfDisclaimer { color: var(--bf-faint); font-size: 12px; margin: 22px 2px 0 !important; max-width: 780px; }
.bfSub { display: block; font-size: 11px; color: var(--bf-faint); font-weight: 500; }
.bfSubInline { font-size: 12px; color: var(--bf-faint); font-weight: 400; margin-left: 6px; }
.bfBad { color: var(--bf-stop); font-weight: 700; }

/* ---- nav log ---- */

.bfTableWrap { overflow-x: auto; margin: 0 -18px -4px; padding: 0 18px; }
.bfNavlog { width: 100%; border-collapse: collapse; font-size: 14.5px; white-space: nowrap; }
.bfNavlog th {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bf-faint); font-weight: 600;
  text-align: right; padding: 0 10px 8px; border-bottom: 1px solid var(--bf-line);
}
.bfNavlog td { text-align: right; padding: 9px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.055); vertical-align: top; }
.bfNavlog .bfColLeg { text-align: left; padding-left: 0; }
.bfNavlog tbody tr:hover td { background: rgba(255, 255, 255, 0.035); }
.bfLegTo { font-weight: 700; color: #fff; display: block; }
.bfLegFrom { font-size: 11.5px; color: var(--bf-faint); }
/* the one number in the row you actually fly */
.bfNavlog td.bfColKey { font-size: 19px; font-weight: 800; color: var(--bf-gold); line-height: 1.05; padding-top: 7px; }
.bfNavlog th.bfColKey { color: var(--bf-gold); }
.bfNavlog tfoot td { border-bottom: 0; border-top: 1px solid var(--bf-line); font-weight: 700; color: #fff; padding-top: 11px; }
.bfCellWarn { color: var(--bf-stop) !important; font-weight: 700; }
.bfRowBad td { background: rgba(242, 96, 92, 0.10); }

/* ---- weather ---- */

.bfFreqs { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
.bfFreq { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-family: var(--bf-mono); color: #fff; }
.bfFreqName { font-family: inherit; color: var(--bf-dim); font-family: system-ui, sans-serif; }

.bfWxLine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.bfWxStation { font-weight: 700; color: #fff; }
.bfWxAge { margin-left: auto; font-size: 12px; color: var(--bf-faint); }
.bfWxAgeOld { color: var(--bf-caution); }

.bfRule {
  display: inline-block; min-width: 46px; text-align: center;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em;
  padding: 3px 8px; border-radius: 6px; color: #101022;
}
.bfRuleVFR { background: var(--bf-ok); }
.bfRuleMVFR { background: var(--bf-info); }
.bfRuleIFR { background: var(--bf-stop); }
.bfRuleLIFR { background: #d86be0; }
.bfRuleUnknown { background: var(--bf-unknown); }

.bfRaw {
  font-family: var(--bf-mono); font-size: 13px; color: #dcdaf0;
  background: rgba(0, 0, 0, 0.28); border-radius: 8px; padding: 9px 11px; margin-top: 10px !important;
  overflow-wrap: anywhere;
}

.bfFacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 16px; margin: 14px 0 0; }
.bfFacts dt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bf-faint); font-weight: 600; }
.bfFacts dd { margin: 1px 0 0; color: #fff; font-weight: 600; }
.bfFactsSun { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.bfRunways { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13.5px; }
.bfRunways th { text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bf-faint); font-weight: 600; padding: 0 8px 6px 0; }
.bfRunways td { padding: 6px 8px 6px 0; border-top: 1px solid rgba(255, 255, 255, 0.055); }
.bfRunwayId { font-weight: 800; color: #fff; display: inline-block; min-width: 30px; }
.bfRunwayBest .bfRunwayId::after { content: "best"; margin-left: 7px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #101022; background: var(--bf-ok); padding: 1px 6px; border-radius: 999px; vertical-align: 2px; }

.bfInlineSetting { margin-top: 12px !important; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--bf-dim); font-size: 13px; }
.bfInlineSetting label { margin: 0; font-weight: 500; }
.bfInlineSetting .bfInput { height: 32px; }

.bfTafTitle { margin-top: 16px !important; font-weight: 700; color: #fff; }
.bfTaf { list-style: none; margin: 6px 0 0; padding: 0; }
.bfTaf li {
  display: grid; grid-template-columns: 54px 150px 1fr; gap: 4px 10px; align-items: baseline;
  padding: 6px 8px; border-radius: 8px; font-size: 13px; color: var(--bf-dim);
}
.bfTaf li.bfTafActive { background: rgba(228, 195, 47, 0.10); color: var(--bf-text); box-shadow: inset 3px 0 0 var(--bf-gold); }
.bfTafTime em { font-style: normal; color: var(--bf-faint); font-size: 11.5px; }
.bfTafRaw { font-family: var(--bf-mono); font-size: 12.5px; overflow-wrap: anywhere; }

/* ---- fuel ---- */

.bfFuelBar { position: relative; display: flex; height: 22px; border-radius: 7px; background: rgba(0, 0, 0, 0.3); margin: 22px 0 6px; }
.bfFuelSeg { display: block; height: 100%; min-width: 2px; }
.bfFuelSeg:first-child { border-radius: 7px 0 0 7px; }
.bfFuelSeg-taxi { background: #6f6b92; }
.bfFuelSeg-trip { background: #5a8dee; }
.bfFuelSeg-cont { background: #8fb4f5; }
.bfFuelSeg-res { background: #c9c6dd; }
.bfFuelMark { position: absolute; top: -18px; bottom: -4px; width: 2px; background: #fff; transform: translateX(-1px); }
.bfFuelMark span { position: absolute; top: -2px; right: 6px; font-size: 11px; white-space: nowrap; color: #fff; font-weight: 600; }
.bfFuelLegend { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 18px; margin: 12px 0 0; }
.bfFuelLegend > div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.bfFuelLegend dt { color: var(--bf-dim); font-weight: 400; }
.bfFuelLegend dd { margin: 0; color: #fff; font-weight: 600; }
.bfFuelLegend .bfFuelTotal dt, .bfFuelLegend .bfFuelTotal dd { color: var(--bf-gold); font-weight: 700; }
.bfSwatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; }

.bfMb { margin-top: 16px; padding: 10px 12px; border-radius: 10px; border-left: 3px solid var(--bf-unknown); background: rgba(0, 0, 0, 0.2); font-size: 13.5px; }
.bfMb-ok { border-color: var(--bf-ok); }
.bfMb-stop { border-color: var(--bf-stop); }
.bfMb .bfLink { margin-top: 6px; }

/* ---- daylight ---- */

.bfSunStrip { position: relative; height: 34px; border-radius: 8px; overflow: hidden; margin-top: 6px; background: #0b0a18; }
.bfSunStrip > span { position: absolute; top: 0; bottom: 0; }
.bfSunNight { background: #0b0a18; }
.bfSunTwilight { background: linear-gradient(90deg, #2a2f6b, #5a5fb0); }
.bfSunDay ~ .bfSunTwilight { background: linear-gradient(90deg, #5a5fb0, #2a2f6b); }
.bfSunDay { background: linear-gradient(180deg, #f4d77a, #e9b949); }
.bfSunFlight { top: 5px !important; bottom: 5px !important; background: rgba(16, 16, 34, 0.86); border: 1.5px solid #fff; border-radius: 5px; min-width: 6px; }
.bfSunKey { font-size: 12px; color: var(--bf-dim); margin-top: 6px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.bfSunKey i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 10px; }
.bfSunKey i:first-child { margin-left: 0; }
.bfSunKeyFlight { background: rgba(16, 16, 34, 0.86); border: 1.5px solid #fff; }
.bfSunKeyDay { background: #e9b949; }
.bfSunKeyTwilight { background: #5a5fb0; }
.bfSunTicks { position: relative; height: 18px; margin-top: 4px; font-size: 11.5px; color: var(--bf-dim); }
.bfSunTicks span { position: absolute; transform: translateX(-50%); }

/* ---- airspace ---- */

.bfConflicts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bfConflict { padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.2); border-left: 3px solid var(--bf-caution); }
.bfConflict-stop { border-color: var(--bf-stop); }
.bfConflictName { font-weight: 700; color: #fff; }
.bfClass { font-size: 11px; font-weight: 600; color: var(--bf-dim); border: 1px solid var(--bf-line); border-radius: 999px; padding: 1px 7px; margin-left: 6px; }
.bfConflictMeta { font-size: 13px; color: var(--bf-dim); }
.bfConflictAdvice { font-size: 13px; color: var(--bf-text); margin-top: 3px !important; }
.bfNotesTitle { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bf-faint); font-weight: 600; margin-top: 14px !important; }
.bfConflictNotes { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; color: var(--bf-dim); display: grid; gap: 4px; }
.bfConflictNotes b { color: var(--bf-text); font-weight: 600; }
.bfActions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bfActions .bfButton { margin-top: 0; }

/* ---- NOTAMs ---- */

.bfNotams { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bfNotams li { padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.2); }
.bfNotamHead { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 12.5px; }
.bfNotamLoc { font-weight: 800; color: #fff; }
.bfNotamNo { color: var(--bf-dim); font-family: var(--bf-mono); }
.bfNotamValid { margin-left: auto; color: var(--bf-faint); }
.bfNotamText { font-family: var(--bf-mono); font-size: 12.5px; color: #dcdaf0; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 5px !important; }

/* ---- narrow screens ---- */

@media (max-width: 860px) {
  .bfGrid { grid-template-columns: minmax(0, 1fr); }
  .bfStat { text-align: left; }
  .bfHeaderStats { gap: 20px; }
  .bfToolbarActions { margin-left: 0; }
  .bfFactsSun { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* On a phone a twelve-column table is a sideways scroll with the leg name off screen. Each leg
   becomes a block instead: the name and heading on top, the rest as labelled pairs. */
@media (max-width: 640px) {
  .briefing { padding: 12px 10px 40px; }
  .bfTiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bfTile { min-height: 0; }
  .bfTileValue { font-size: 17px; }
  .bfTableWrap { overflow: visible; margin: 0; padding: 0; }
  .bfNavlog, .bfNavlog tbody, .bfNavlog tfoot { display: block; white-space: normal; }
  .bfNavlog thead { display: none; }
  .bfNavlog tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 6px; padding: 12px 0; border-bottom: 1px solid var(--bf-line); }
  .bfNavlog td { display: block; padding: 0; border: 0; text-align: left; }
  .bfNavlog td:empty { display: none; }
  .bfNavlog td::before { content: attr(data-label); display: block; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bf-faint); font-weight: 600; }
  .bfNavlog td.bfColLeg { grid-column: 1 / span 3; }
  .bfNavlog td.bfColLeg::before { display: none; }
  .bfNavlog td.bfColKey { grid-column: 4; grid-row: 1; text-align: right; padding-top: 0; }
  .bfNavlog tfoot tr { border-bottom: 0; }
  .bfTaf li { grid-template-columns: 54px 1fr; }
  .bfTafRaw { grid-column: 1 / -1; }
}

/* ---- the printed kneeboard ---- */

#briefingPrintRoot { display: none; }

@media print {
  html.briefingPrinting, html.briefingPrinting body { background: #fff !important; height: auto !important; overflow: visible !important; }
  html.briefingPrinting body > *:not(#briefingPrintRoot) { display: none !important; }
  html.briefingPrinting #briefingPrintRoot { display: block; }
  @page { size: A4 portrait; margin: 10mm; }
}

.kbPage { color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 1.3; text-align: left; font-variant-numeric: tabular-nums; }
.kbPage p { margin: 0 0 2pt; }
.kbHead { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2pt solid #000; padding-bottom: 4pt; margin-bottom: 6pt; }
.kbHead h1 { font-size: 20pt; margin: 0; font-weight: 800; }
.kbTotals { display: flex; gap: 14pt; font-size: 10pt; }
.kbTotals b { font-size: 14pt; }
.kbLog { width: 100%; border-collapse: collapse; margin-bottom: 8pt; }
.kbLog th, .kbLog td { border: 0.75pt solid #000; padding: 4pt 4pt; text-align: center; font-size: 10pt; }
.kbLog th { font-size: 8pt; text-transform: uppercase; background: #e6e6e6; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.kbLog .kbLeft { text-align: left; font-weight: 700; }
.kbLog .kbKey { font-size: 14pt; font-weight: 800; }
.kbLog .kbWrite { min-width: 38pt; }
.kbLog .kbNotes { width: 22%; }
.kbLog tbody tr { height: 24pt; }
.kbColumns { display: flex; gap: 8pt; margin-bottom: 8pt; }
.kbBox { flex: 1; border: 0.75pt solid #000; padding: 5pt 6pt; margin-bottom: 8pt; break-inside: avoid; }
.kbColumns .kbBox { margin-bottom: 0; }
.kbBox h2 { font-size: 9pt; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 3pt; }
.kbBox h2 span { font-weight: 400; text-transform: none; }
.kbRaw { font-family: "Courier New", monospace; font-size: 8.5pt; overflow-wrap: anywhere; }
.kbFreqs { font-size: 9.5pt; }
.kbFoot { font-size: 7.5pt; color: #444; }
