/* The page frame, 24 October 2026 (the owner's approved board 3a): the Kingsgate Blue top bar with the jump bar, the strip
   of six dated figures, the panel on the left and the page column. At 1300px and below the panel folds to an 80px rail; on a
   phone it becomes a sheet opened from Menu. Tokens come from kg-brand-20261024.css. */

/* ---------- top bar: 64px, Kingsgate Blue in both modes ---------- */
.kgf-top {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 20px;
  height: 64px; padding: 0 32px; box-sizing: border-box;
  background: var(--kg-brand-block); color: var(--kg-on-brand-block);
  font: 400 var(--kg-size-ui)/1.2 var(--kg-font-body);
}
.kgf-brand { display: flex; align-items: center; gap: 20px; color: #fff; text-decoration: none; flex: 0 0 auto; }
.nga-fable-root .kgf-brand, body.kg-terminal .kgf-brand { color: #fff; text-decoration: none; }
.kgf-brand img { height: 26px; width: auto; display: block; }
.kgf-brand .kgf-rule { width: 1px; height: 24px; background: var(--kg-on-brand-muted); }
.kgf-brand .kgf-name { font: 500 20px/1 var(--kg-font-heading); color: #fff; }
.kgf-jump {
  display: flex; align-items: center; gap: 12px;
  width: 420px; max-width: 34vw; margin-left: 20px; padding: 7px 12px; box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.35); background: transparent;
  color: var(--kg-on-brand-muted); font: 400 var(--kg-size-ui)/1.3 var(--kg-font-body); text-align: left; cursor: pointer;
}
.kgf-jump:hover { border-color: rgba(255, 255, 255, 0.7); }
.kgf-jump > span:first-child { flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kgf-top kbd, .kgf-jump kbd {
  font: 400 var(--kg-size-small)/1.4 var(--kg-font-figures); color: var(--kg-on-brand-muted);
  border: 1px solid rgba(255, 255, 255, 0.35); padding: 0 5px; background: none; white-space: nowrap; flex: 0 0 auto;
}
.kgf-spacer { flex: 1 1 auto; }
.kgf-links { display: flex; align-items: center; gap: 28px; }
.kgf-links a, .kgf-links button {
  color: #fff; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer;
  font: 400 var(--kg-size-ui)/1.2 var(--kg-font-body);
}
.nga-fable-root .kgf-links a, body.kg-terminal .kgf-links a { color: #fff; text-decoration: none; }
.kgf-links a:hover, .kgf-links button:hover { text-decoration: underline; text-underline-offset: 4px; }
.kgf-theme { display: flex; gap: 10px; }
.kgf-theme button { color: var(--kg-on-brand-muted); }
.kgf-theme button[aria-pressed="true"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.kgf-acct { position: relative; }
/* board 23c, 29 Oct 2026 · "Account" is 36px tall and wears the 3px accent ring while its panel is open; the panel is 340px,
   2px under the bar and 24px from the right, with the reader's name, email, package and organisation, then 48px items */
.kgf-links .kgf-acct > button { height: 36px; padding: 0 8px; }
.kgf-links .kgf-acct > button[aria-expanded="true"] { outline: 3px solid var(--kg-accent); outline-offset: 0; text-decoration: none; }
.kgf-acctmenu {
  position: fixed; top: 66px; right: 24px; z-index: 70; width: 340px; max-width: calc(100vw - 32px); box-sizing: border-box;
  background: var(--kg-ground); color: var(--kg-text); border: 1px solid var(--kg-rule-strong);
  padding: 0; font: 400 16px/1.45 var(--kg-font-body);
}
.kgf-acctmenu[hidden] { display: none; }
.kgf-acctwho { display: block; padding: 16px 18px 14px; border-bottom: 1px solid var(--kg-rule); overflow-wrap: anywhere; font: 400 16px/1.45 var(--kg-font-body); }
.kgf-acctname { display: block; font-weight: 500; color: var(--kg-heading); }
.kgf-acctmail { display: block; font-size: 14px; color: var(--kg-text-muted); }
.kgf-acctpkg { display: block; margin-top: 10px; font-size: 14px; color: var(--kg-text-muted); }
.kgf-acctpkg b { font-size: 16px; font-weight: 500; color: var(--kg-text); }
.kgf-links .kgf-acctmenu a, .kgf-links .kgf-acctmenu button, .kgf-top .kgf-sheet a, .kgf-top .kgf-sheet .kgf-sheetgroup button {
  display: flex; align-items: center; width: 100%; height: 48px; box-sizing: border-box; padding: 0 18px;
  border: 0; border-bottom: 1px solid var(--kg-rule); background: none; color: var(--kg-text);
  font: 400 16px/1.2 var(--kg-font-body); text-align: left; text-decoration: none; cursor: pointer;
}
.nga-fable-root .kgf-acctmenu a, .nga-fable-root .kgf-sheet a { color: var(--kg-text); text-decoration: none; }
.kgf-links .kgf-acctmenu > :last-child { border-bottom: 0; }
.kgf-links .kgf-acctmenu a:hover, .kgf-links .kgf-acctmenu button:hover, .kgf-top .kgf-sheet a:hover, .kgf-top .kgf-sheet .kgf-sheetgroup button:hover {
  background: var(--kg-ground-soft); text-decoration: none;
}
.kgf-acctmenu a:focus-visible, .kgf-acctmenu button:focus-visible, .kgf-sheet a:focus-visible, .kgf-sheet button:focus-visible {
  outline: 3px solid var(--kg-accent); outline-offset: -3px;
}
/* the phone sheet (board 23c): full height under the 56px bar, the account first */
.kgf-sheet { display: none; }
.kgf-menu {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff;
  min-height: 40px; padding: 0 12px; font: 500 var(--kg-size-ui)/1 var(--kg-font-body); cursor: pointer;
}

/* ---------- staff preview (analysts only): which package the page is drawn for ---------- */
.kgf-preview {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 8px 32px; border-bottom: 1px solid var(--kg-rule);
  font-size: var(--kg-size-small); color: var(--kg-text-muted); background: var(--kg-ground);
}
.kgf-preview:empty, .kgf-preview.kgf-off { display: none; }
.kgf-preview label { margin-right: 6px; }
.kgf-preview button {
  font: 400 var(--kg-size-small)/1.2 var(--kg-font-body); color: var(--kg-text); background: none;
  border: 1px solid var(--kg-rule); padding: 5px 10px; cursor: pointer;
}
.kgf-preview button.on { background: var(--kg-accent); border-color: var(--kg-accent); color: var(--kg-on-accent); font-weight: 500; }

/* ---------- the figure strip: up to six dated figures, 52px ---------- */
.kgf-strip {
  display: flex; height: 52px; border-bottom: 1px solid var(--kg-rule); background: var(--kg-ground);
  overflow-x: auto; scrollbar-width: none;
}
.kgf-strip::-webkit-scrollbar { display: none; }
.kgf-strip:empty { display: none; }
.kgf-fig {
  display: flex; flex-direction: column; justify-content: center; gap: 1px;
  padding: 0 20px; border-right: 1px solid var(--kg-rule); white-space: nowrap; flex: 1 1 auto;
}
.kgf-fig:first-child { padding-left: 32px; }
.kgf-fig:last-child { border-right: 0; }
.kgf-figs { display: none; }
/* the value with its short name (phones); the period alone under it on phones, where the long label gives way (3 Nov 2026: the
   Country Call's opening no longer repeats these figures, so the strip keeps each one dated at every width) */
.kgf-figtop { display: flex; align-items: baseline; gap: 6px; }
.kgf-figd { display: none; }
.kgf-figv { color: var(--kg-text); font-size: var(--kg-size-ui); line-height: 1.2; }
.kgf-figl { color: var(--kg-text); font-size: var(--kg-size-small); line-height: 1.2; }

/* ---------- the panel and the page column ---------- */
.kgf-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 117px); background: var(--kg-ground); }
.kgf-panel {
  position: sticky; top: 64px; align-self: start; max-height: calc(100vh - 64px); overflow-y: auto;
  border-right: 1px solid var(--kg-rule); padding: 20px 0 24px; box-sizing: border-box;
  font-size: var(--kg-size-ui); line-height: 1.3; background: var(--kg-ground); scrollbar-width: thin;
}
.kgf-wrap > #main { padding: 20px 64px 48px; max-width: none; margin: 0; min-width: 0; }
.kgf-panel a { text-decoration: none; }
.kgf-country { padding: 0 24px 12px; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--kg-rule); }
.kgf-cname { font: 500 var(--kg-size-body)/1.2 var(--kg-font-heading); color: var(--kg-heading); }
.kgf-live { font-size: var(--kg-size-small); color: var(--kg-text-muted); }
.nga-fable-root .kgf-next, .kgf-next { display: block; padding: 10px 24px 0; font-size: var(--kg-size-small); line-height: 1.4; color: var(--kg-text); }
.kgf-next span { color: var(--kg-link); }
/* 29 Oct 2026 · round 22 (22b, 22c): yellow marks the next decision, ink-edged in light */
.kgf-next::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; background: var(--kg-accent);
  box-shadow: inset 0 0 0 1px var(--kg-accent-edge); }
.kgf-h { padding: 14px 24px 2px; font-size: var(--kg-size-small); color: var(--kg-text-muted); }
.kgf-sep { border-top: 1px solid var(--kg-rule); margin-top: 10px; padding-top: 18px; }
.nga-fable-root .kgf-step, .kgf-step {
  display: grid; grid-template-columns: 8px 16px 1fr; gap: 8px; align-items: center;
  padding: 8px 24px; color: var(--kg-text);
}
.kgf-step > i { width: 8px; height: 8px; }
.kgf-step.on { color: var(--kg-text); font-weight: 500; background: var(--kg-ground-soft); }
.kgf-step.on > i { background: var(--kg-accent); box-shadow: inset 0 0 0 1px var(--kg-accent-edge); }
.kgf-step .kgf-n { font-size: var(--kg-size-small); color: var(--kg-text-muted); }
.kgf-step.on .kgf-n { color: var(--kg-text); }
.kgf-steptier { font-size: var(--kg-size-small); color: var(--kg-text-muted); font-weight: 400; }
.kgf-step:hover, .kgf-item:hover { background: var(--kg-ground-soft); }
.nga-fable-root .kgf-item, .kgf-item {
  display: block; width: 100%; box-sizing: border-box; padding: 7px 24px; color: var(--kg-text);
  background: none; border: 0; text-align: left; font: inherit; cursor: pointer;
}
.kgf-item > span:first-child { display: block; }
.kgf-item.on { color: var(--kg-heading); font-weight: 500; background: var(--kg-ground-soft); }
.kgf-sub, .kgf-tier { display: flex; align-items: center; gap: 5px; font-size: var(--kg-size-small); color: var(--kg-text-muted); font-weight: 400; }
.kgf-lock { width: 11px; height: 13px; flex: 0 0 auto; }
.kgf-item kbd {
  display: inline-block; margin-top: 4px; font: 400 var(--kg-size-small)/1.4 var(--kg-font-figures);
  color: var(--kg-text); border: 1px solid var(--kg-rule-strong); padding: 0 5px; background: none;
}
.kgf-account {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px;
  margin-top: 10px; padding: 16px 24px 0; border-top: 1px solid var(--kg-rule);
  font-size: var(--kg-size-small); color: var(--kg-text-muted);
}
.kgf-account a, .kgf-linkbtn { color: var(--kg-link); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.kgf-rail { display: none; }
.kgf-phoneacct { display: none; }

/* The panel folded to an 80px rail, 1300px and below (board 3a, 1280). "Open" lays the full panel over the page. */
@media (max-width: 1300px) and (min-width: 761px) {
  .kgf-wrap { grid-template-columns: 80px minmax(0, 1fr); }
  .kgf-wrap > #main { padding: 20px 48px 48px; }
  .kgf-panel { padding: 20px 0; }
  .kgf-panel .kgf-full { display: none; }
  .kgf-panel .kgf-rail { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .kgf-panel.open { width: 280px; z-index: 80; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.45); }
  .kgf-panel.open .kgf-full { display: block; }
  .kgf-panel.open .kgf-rail { display: none; }
  .kgf-railh { font-size: var(--kg-size-small); color: var(--kg-text-muted); }
  .nga-fable-root .kgf-railn, .kgf-railn {
    display: flex; align-items: center; justify-content: center; width: 26px; height: 26px;
    font-size: var(--kg-size-small); color: var(--kg-text);
  }
  .kgf-railn.on { background: var(--kg-accent); color: var(--kg-on-accent); }
  .kgf-railrule { width: 40px; border-top: 1px solid var(--kg-rule); margin: 6px 0; }
  .nga-fable-root .kgf-railw, .kgf-railw {
    background: none; border: 0; padding: 4px 6px; font: 400 var(--kg-size-small)/1.2 var(--kg-font-body);
    color: var(--kg-text); cursor: pointer; text-align: center;
  }
  .kgf-railw[data-panel-open] { color: var(--kg-text-muted); }
  /* 27 Oct 2026 · the top bar overflowed at 1024 (logo 222px + jump 300px + links 413px): the jump bar now gives way first */
  .kgf-top { gap: 16px; }
  .kgf-jump { width: auto; flex: 0 1 300px; min-width: 160px; }
  .kgf-links { gap: 20px; }
}
/* narrow laptops and tablets: the jump bar becomes the phone's Jump button, and the rule beside the logo goes */
@media (max-width: 960px) and (min-width: 761px) {
  .kgf-top { gap: 12px; }
  .kgf-brand { gap: 12px; }
  .kgf-brand .kgf-rule { display: none; }
  .kgf-jump { flex: 0 0 auto; min-width: 0; margin-left: 0; padding: 6px 10px; }
  .kgf-jump > span:first-child, .kgf-jump kbd { display: none; }
  .kgf-jump::before { content: "Jump"; color: #fff; }
  .kgf-links { gap: 16px; }
}

/* Phone (board 2a, 390): the logo and Navigator on the left, Jump and Menu on the right; Account and the rest of the links
   sit in the panel, which is a sheet opened from Menu. The strip shows three figures on one line. */
@media (max-width: 760px) {
  .kgf-top { gap: 12px; padding: 0 16px; height: 56px; }
  .kgf-menu { display: inline-flex; align-items: center; justify-content: center; order: 9; border: 0; min-height: 44px; min-width: 56px; padding: 0 8px; font-size: 15px; }
  .kgf-menu[aria-expanded="true"] { outline: 3px solid var(--kg-accent); outline-offset: -3px; }
  .kgf-sheet { position: fixed; top: 56px; left: 0; right: 0; bottom: 0; z-index: 90; overflow-y: auto; padding: 0 16px 24px;
    background: var(--kg-ground); color: var(--kg-text); font: 400 16px/1.45 var(--kg-font-body); }
  .kgf-sheet:not([hidden]) { display: block; }
  .kgf-top .kgf-sheet a, .kgf-top .kgf-sheet .kgf-sheetgroup button { padding: 0; }
  .kgf-sheet .kgf-acctwho { padding: 16px 0 14px; }
  .kgf-sheetgroup { border-bottom: 1px solid var(--kg-rule-strong); }
  .kgf-sheetgroup > :last-child { border-bottom: 0; }
  .kgf-sheettheme { display: flex; align-items: center; height: 48px; border-bottom: 1px solid var(--kg-rule); }
  .kgf-sheettheme .kgf-theme { gap: 0; }
  .kgf-sheettheme .kgf-theme button[type] { min-width: 56px; height: 44px; padding: 0 8px 0 0; border: 0; background: none; color: var(--kg-text-muted);
    font: 400 16px/1.2 var(--kg-font-body); text-align: left; cursor: pointer; }
  .kgf-sheettheme .kgf-theme button[type][aria-pressed="true"] { color: var(--kg-text); text-decoration: underline; text-underline-offset: 4px; }
  .kgf-brand .kgf-rule, .kgf-spacer, .kgf-links { display: none; }
  .kgf-brand { gap: 10px; margin-right: auto; }
  .kgf-brand img { height: 20px; }
  .kgf-brand .kgf-name { font-size: 17px; }
  .kgf-jump { width: auto; max-width: none; margin-left: 0; flex: 0 0 auto; padding: 6px 10px; }
  .kgf-jump > span:first-child, .kgf-jump kbd { display: none; }
  .kgf-jump::before { content: "Jump"; color: #fff; }
  .kgf-strip { height: 52px; }
  .kgf-fig { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; padding: 0 12px; flex: 0 0 auto; }
  .kgf-figd { display: block; color: var(--kg-text-muted); font-size: var(--kg-size-small); line-height: 1.2; }
  .kgf-fig:first-child { padding-left: 16px; }
  .kgf-fig:nth-child(n+4) { display: none; }
  .kgf-fig:nth-child(3) { border-right: 0; }
  .kgf-figs { display: inline; color: var(--kg-text-muted); font-size: var(--kg-size-small); }
  .kgf-figl { display: none; }
  .kgf-wrap { display: block; }
  .kgf-wrap > #main { padding: 16px 16px 40px; }
  /* board 23c: the panel is the sheet opened from Menu, full height under the 56px bar, with 16px margins */
  .kgf-panel {
    position: fixed; left: 0; right: 0; top: 56px; bottom: 0; z-index: 120; width: auto; max-height: none; padding: 0 0 24px;
    align-self: stretch; /* the wide panel's "start" would size a fixed box to its content and lift it over the bar */
    border-right: 0; transform: translateX(-100%); transition: transform 0.18s ease;
  }
  .kgf-panel.open { transform: none; }
  .kgf-scrim, .kgf-scrim[hidden] { display: none; }
  .kgf-panel .kgf-country, .kgf-panel .kgf-h, .kgf-panel .kgf-item, .nga-fable-root .kgf-panel .kgf-item { padding-left: 16px; padding-right: 16px; }
  .kgf-panel .kgf-next, .nga-fable-root .kgf-panel .kgf-next { padding-left: 16px; padding-right: 16px; }
  .kgf-panel .kgf-country { padding-top: 14px; }
  .nga-fable-root .kgf-panel .kgf-step, .kgf-panel .kgf-step { min-height: 44px; padding: 0 16px; box-sizing: border-box; }
  .kgf-panel .kgf-account { display: none; }
  .kgf-phoneacct { display: block; padding: 0 16px; }
  .nga-fable-root .kgf-phoneacct a, .kgf-phoneacct a, .kgf-phoneacct .kgf-sheetgroup button {
    display: flex; align-items: center; width: 100%; height: 48px; box-sizing: border-box; padding: 0;
    border: 0; border-bottom: 1px solid var(--kg-rule); background: none; color: var(--kg-text);
    font: 400 16px/1.2 var(--kg-font-body); text-align: left; text-decoration: none; cursor: pointer;
  }
  .kgf-phoneacct .kgf-acctwho { padding: 16px 0 14px; }
  .kgf-phoneacct a:focus-visible, .kgf-phoneacct button:focus-visible { outline: 3px solid var(--kg-accent); outline-offset: -3px; }
  .kgf-preview { padding: 8px 16px; }
}

/* ---------- "Jump to…" ---------- */
.kgj {
  width: min(640px, calc(100vw - 32px)); max-height: min(70vh, 640px); padding: 0; margin: 12vh auto auto;
  background: var(--kg-ground); color: var(--kg-text); border: 1px solid var(--kg-rule-strong);
  font: 400 var(--kg-size-ui)/1.4 var(--kg-font-body);
}
.kgj::backdrop { background: rgba(0, 0, 0, 0.55); }
.kgj-box { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--kg-rule); }
.kgj-box input {
  flex: 1 1 auto; min-width: 0; background: none; border: 0; outline: none; color: var(--kg-heading);
  font: 400 var(--kg-size-body)/1.4 var(--kg-font-body);
}
.kgj-box kbd { font: 400 var(--kg-size-small)/1.4 var(--kg-font-figures); color: var(--kg-text-muted); border: 1px solid var(--kg-rule); padding: 0 5px; }
.kgj-results { max-height: calc(min(70vh, 640px) - 60px); overflow-y: auto; padding: 4px 0 10px; }
.kgj-h { padding: 12px 16px 4px; font-size: var(--kg-size-small); color: var(--kg-text-muted); }
.nga-fable-root .kgj-row, .kgj-row {
  display: flex; justify-content: space-between; gap: 16px; padding: 8px 16px; color: var(--kg-text); text-decoration: none;
}
.kgj-row.sel, .kgj-row:hover { background: var(--kg-ground-soft); color: var(--kg-heading); }
.kgj-row.sel { font-weight: 500; }
.kgj-meta { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; font-size: var(--kg-size-small); color: var(--kg-text-muted); }
.kgj-none { margin: 0; padding: 16px; color: var(--kg-text-muted); font-size: var(--kg-size-ui); }

@media print {
  .kgf-top, .kgf-strip, .kgf-panel, .kgf-preview { display: none !important; }
  .kgf-wrap { display: block; }
}

/* ---------- the page loader (app.js loading()): a short notice while a page other than the Country Call draws.
   The Country Call uses its own column (country-call-loading.js, .kgcc-loading). ---------- */
.route-loader { display: flex; align-items: center; gap: 12px; min-height: 40vh; font: 400 var(--kg-size-ui)/1.4 var(--kg-font-body); color: var(--kg-text-muted); }
.route-loader-mark { width: 16px; height: 16px; flex: 0 0 auto; border: 2px solid var(--kg-rule); border-top-color: var(--kg-accent); animation: kg-turn 0.8s linear infinite; }
@keyframes kg-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .route-loader-mark { animation: none; } }

/* One quiet frame on every page (5 Nov 2026). The column is inset, and the menu is the named list with a lock
   on each page the reader's package does not open. The older full-width panel remains for the phone sheet. */
.kgf-briefnav { display: none; }
body.kg-country-call #kgStrip { display: none; }
body.kg-country-call .kgf-top { height: 56px; padding-inline: 24px; }
body.kg-country-call .kgf-acctmenu { top: 58px; }
body.kg-country-call .kgf-wrap { grid-template-columns: 200px minmax(0, 1fr); min-height: calc(100dvh - 56px); max-width: 1480px; margin-inline: auto; }
body.kg-country-call .kgf-wrap > #main { padding: 24px 40px 64px; }
body.kg-country-call .kgf-panel { top: 56px; max-height: calc(100dvh - 56px); padding: 24px 16px; }
body.kg-country-call .kgf-panel .kgf-full, body.kg-country-call .kgf-panel .kgf-rail { display: none; }
body.kg-country-call .kgf-briefnav { display: block; }
.kgf-brief-country { color: var(--kg-heading); font: 500 var(--kg-size-lead)/1.3 var(--kg-font-heading); margin: 0 8px 20px; }
.kgf-briefnav nav { display: grid; gap: 4px; }
/* 4 Nov 2026 (review R5): the decision questions, then the reader's work, as two groups */
.kgf-brief-group { margin: 0 8px 4px; color: var(--kg-text-muted); font: 400 var(--kg-size-small)/1.4 var(--kg-font-body); }
.kgf-briefnav .kgf-brief-work { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--kg-rule); }
.kgf-briefnav nav > a .kgf-tier { display: flex; flex: 1 0 100%; margin-top: 2px; font-size: var(--kg-size-small); color: var(--kg-text-muted); }
.kgf-briefnav nav > a, .kgf-briefnav nav > button { display: flex; align-items: flex-start; flex-wrap: wrap; min-height: 44px; padding: 10px 8px; background: none; border: 0; color: var(--kg-text); text-align: left; font: 400 var(--kg-size-ui)/1.4 var(--kg-font-body); text-decoration: none; cursor: pointer; }
.kgf-briefnav nav > a.on { position: relative; padding-left: 27px; background: var(--kg-ground-soft); font-weight: 500; }
/* the mark stays on the first line when the name wraps, rather than centering down the whole row */
.kgf-briefnav nav > a.on::before { content: ''; position: absolute; left: 8px; top: calc(10px + (1.4 * var(--kg-size-ui) - 11px) / 2); width: 9px; height: 9px; background: var(--kg-accent); border: 1px solid var(--kg-accent-edge); }
.kgf-briefnav nav > :hover { background: var(--kg-ground-soft); }
.kgf-briefnav > details { border-top: 1px solid var(--kg-rule); margin-top: 16px; padding-top: 8px; font-size: var(--kg-size-small); }
.kgf-briefnav > details > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--kg-text-muted); }
.kgf-briefnav > details .kgf-step { padding: 8px 0; min-height: 44px; }
@media (min-width: 901px) and (max-width: 1100px) {
  body.kg-country-call .kgf-wrap { grid-template-columns: 176px minmax(0, 1fr); }
  body.kg-country-call .kgf-wrap > #main { padding: 24px; }
}
@media (max-width: 900px) {
  body.kg-country-call .kgf-top { gap: 12px; padding: 0 16px; }
  body.kg-country-call .kgf-menu { display: inline-flex; align-items: center; justify-content: center; order: 9; min-height: 44px; min-width: 56px; padding: 0 8px; border: 0; }
  body.kg-country-call .kgf-brand { gap: 10px; margin-right: auto; }
  body.kg-country-call .kgf-brand img { height: 20px; }
  body.kg-country-call .kgf-brand .kgf-name { font-size: var(--kg-size-body); }
  body.kg-country-call .kgf-brand .kgf-rule, body.kg-country-call .kgf-spacer, body.kg-country-call .kgf-links { display: none; }
  body.kg-country-call .kgf-jump { width: auto; min-width: 0; max-width: none; margin-left: 0; flex: 0 0 auto; padding: 6px 10px; }
  body.kg-country-call .kgf-jump > span:first-child, body.kg-country-call .kgf-jump kbd { display: none; }
  body.kg-country-call .kgf-jump::before { content: 'Jump'; color: var(--kg-on-brand-block); }
  body.kg-country-call .kgf-wrap { display: block; }
  body.kg-country-call .kgf-wrap > #main { padding: 24px; }
  body.kg-country-call .kgf-panel { position: fixed; top: 56px; bottom: 0; left: 0; right: 0; width: auto; max-height: none; z-index: 120; transform: translateX(-100%); visibility: hidden; padding: 0 0 24px; border: 0; }
  body.kg-country-call .kgf-panel.open { transform: none; visibility: visible; box-shadow: none; }
  body.kg-country-call .kgf-panel .kgf-briefnav, body.kg-country-call .kgf-panel .kgf-rail { display: none; }
  body.kg-country-call .kgf-panel .kgf-full { display: block; }
  body.kg-country-call .kgf-phoneacct { display: block; }
  body.kg-country-call .kgf-panel .kgf-country { padding-top: 16px; }
  body.kg-country-call .kgf-scrim { display: none; }
}
@media (max-width: 640px) {
  body.kg-country-call .kgf-wrap > #main { padding: 16px 16px 40px; }
}
