/* Hub bar, search, and site footer injected by server.go into every page.
   Tool pages are SharePoint exports and must not be hand-edited, so all
   shared chrome lives here. Class names are nga- prefixed to avoid
   colliding with the exported tools' own global styles.

   Palette, type, and squared edges follow the NGA house style the exports
   use, so the bar reads as the top of the same masthead rather than a
   separate strip: McKinsey navy #051c2c with a cyan accent, McKinsey Sans
   where installed, hairline rules, no rounded corners or shadows.

   The bar is 48px tall; tool pages with their own sticky sub-header
   are offset below it by the rule at the end of this file. */

.nga-hub-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #051c2c;
  /* Inset rather than a real border so the bar is exactly 48px tall; tool
     pages offset their own sticky headers by that amount. */
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .12);
  font-family: "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.nga-hub-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nga-hub-bar a { color: #cdd7e0; text-decoration: none; font-size: 14px; font-weight: 600 }
.nga-hub-bar a:hover { color: #fff }
.nga-hub-bar a:focus-visible { outline: 2px solid #00a9f4; outline-offset: 3px }
.nga-hub-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 15px }
.nga-hub-brand .nga-dot { width: 9px; height: 9px; background: #00a9f4; flex: none }

/* The footer closes every page, hub included, and sits after the export's own
   content, so it resets the paragraph rules exports set globally. */
.nga-site-foot {
  clear: both;
  border-top: 1px solid #e0e4e8;
  background: #fff;
  font-family: "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: left;
}
.nga-site-foot-inner { max-width: 1180px; margin: 0 auto; padding: 30px 40px 36px; box-sizing: border-box }
.nga-site-foot p {
  max-width: none; margin: 0; padding: 0; font-size: 13.5px; line-height: 1.6; color: #6b7785;
  font-family: inherit; font-weight: 400; letter-spacing: normal; text-transform: none
}
.nga-site-foot p + p { margin-top: 8px }
.nga-site-foot .nga-updated + p { margin-top: 14px }
.nga-site-foot .nga-foot-note { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #e0e4e8 }
.nga-updated time { color: #333f48; font-weight: 600 }

.nga-home { white-space: nowrap }
.nga-home[aria-current="page"] { color: #fff }
.nga-kind {
  color: #6b7785;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Exports pin their own sub-headers at top:0, which the hub bar would cover.
   This sheet is injected last and only on tool pages, so it outranks the
   exports' own rule without touching their markup. Keep this list in sync
   with the sticky selectors the exports use. */
.chipbar,
.tabs,
.tabbar {
  top: 48px;
}

/* ---------------------------------------------------------- framework menu
   Shared by the hub's own top bar and the bar injected into tool pages, so
   it is styled by its own classes rather than by either bar. The panel drops
   to the full width of whichever bar holds it; neither the inner wrapper nor
   the details element is positioned, so the sticky bar is its anchor. */
.nga-c-assess   { --nga-step: #00a9f4; --nga-on-ink: #051c2c }
.nga-c-approach { --nga-step: #027ab1; --nga-on-ink: #fff }
.nga-c-act      { --nga-step: #2251ff; --nga-on-ink: #fff }
.nga-c-enable   { --nga-step: #0b3b5e; --nga-on-ink: #fff }
.nga-c-engage   { --nga-step: #051c2c; --nga-on-ink: #fff }

.nga-menu { font-family: "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif }
.nga-menu > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  color: #cdd7e0; font-size: 14px; font-weight: 600; padding: 6px 0; user-select: none
}
.nga-menu > summary::-webkit-details-marker { display: none }
.nga-menu > summary:hover, .nga-menu[open] > summary { color: #fff }
.nga-menu > summary:focus-visible { outline: 2px solid #00a9f4; outline-offset: 3px }
.nga-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; transition: transform .15s }
.nga-menu[open] .nga-caret { transform: rotate(180deg) }

.nga-menu-panel {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: #333f48;
  border-top: 3px solid #00a9f4; border-bottom: 1px solid #c3cad1;
  box-shadow: 0 14px 28px rgba(5, 28, 44, .16); max-height: calc(100vh - 48px); overflow: auto;
  text-align: left
}
.nga-menu-inner { max-width: 1180px; margin: 0 auto; padding: 20px 40px 18px }
.nga-menu ul { list-style: none; margin: 0; padding: 0 }
.nga-menu li { margin: 0 0 6px }
.nga-menu li a {
  display: block; color: #051c2c; font-size: 13.5px; font-weight: 600; line-height: 1.35;
  text-decoration: none; padding: 3px 0 3px 9px; border-left: 2px solid transparent
}
.nga-menu li a:hover { color: #2251ff; border-left-color: #c3cad1 }
.nga-menu .nga-kind { display: block; font-size: 10px; margin-bottom: 1px }
.nga-menu li.nga-ex a { color: #2251ff; font-weight: 600 }
.nga-menu li.nga-here a { background: #eef4ff; border-left-color: #2251ff }
.nga-here-tag {
  display: table; margin-top: 5px; padding: 1px 7px; background: #2251ff; color: #fff;
  font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase
}

.nga-menu-over {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; padding: 0 0 14px;
  margin-bottom: 16px; border-bottom: 1px solid #e0e4e8
}
.nga-menu-over ul { display: flex; flex-wrap: wrap; gap: 4px 22px }
.nga-menu-over li { margin: 0 }
.nga-menu-overlabel, .nga-menu-tracklabel {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6b7785
}

.nga-menu-grid { display: grid; grid-template-columns: 1fr 1fr 1.7fr 1fr 1fr; gap: 0 18px }
.nga-menu-col { border-top: 4px solid var(--nga-step); padding-top: 10px; min-width: 0 }
.nga-menu-col.nga-col-here { background: linear-gradient(#f2f5f8, #fff 70%) }
.nga-menu .nga-menu-head {
  display: flex; align-items: center; gap: 8px; color: #051c2c; text-decoration: none;
  font-family: Bower, "Bower Text", Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 600
}
.nga-menu .nga-menu-head:hover { color: #2251ff }
.nga-menu .nga-num {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px;
  padding: 0 5px; background: var(--nga-step, #051c2c); color: var(--nga-on-ink, #fff);
  font-family: "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 11px; font-weight: 700
}
.nga-menu-sub { display: block; margin: 3px 0 10px; font-size: 12px; line-height: 1.35; color: #6b7785 }
.nga-menu-track { margin-top: 10px; padding-top: 8px; border-top: 1px solid #e0e4e8 }
.nga-menu-tracklabel { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 6px;
  letter-spacing: .06em; text-transform: none; font-size: 12px; color: #051c2c; line-height: 1.35 }
.nga-menu-tracklabel .nga-num { min-width: 26px; height: 18px; font-size: 10px }
.nga-menu-all {
  display: inline-block; margin-top: 14px; color: #2251ff !important; font-size: 13.5px !important;
  font-weight: 600; text-decoration: none
}
.nga-menu-all:hover { text-decoration: underline }

/* ---------------------------------------------------------- "you are here" strip
   Sits under the bar and scrolls away with the page, so the bar keeps its
   48px height and the exports' sticky sub-headers stay correctly offset. */
.nga-context { background: #f2f5f8; border-bottom: 1px solid #e0e4e8;
  font-family: "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif }
.nga-context-inner {
  max-width: 1180px; margin: 0 auto; padding: 10px 40px; display: flex; align-items: center;
  gap: 22px; flex-wrap: wrap
}
.nga-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; margin: 0; font-size: 13px; color: #333f48 }
.nga-crumb a { display: inline-flex; align-items: center; gap: 6px; color: #2251ff; font-weight: 600; text-decoration: none }
.nga-crumb a:hover { text-decoration: underline }
.nga-crumb .nga-num {
  display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px;
  background: var(--nga-step); color: var(--nga-on-ink); font-size: 10.5px; font-weight: 700
}
.nga-crumb .nga-sep { margin: 0 8px; color: #8a96a3 }
.nga-crumb b { color: #051c2c }
.nga-kindtag {
  margin-left: 10px; padding: 1px 7px; border: 1px solid #c3cad1; background: #fff; color: #6b7785;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase
}
.nga-crumb-lab {
  margin-right: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #2251ff
}

/* ---------------------------------------------------------- step dropdowns
   One per framework step in the top bar. Each summary fills the bar's full
   48px so its panel opens flush with the bar's bottom edge; the step holding
   the current page is underlined in its colour. Link rules are scoped tightly
   enough to outrank the bars' own light-on-navy link colours. */
.nga-steps { display: flex; align-items: stretch; height: 48px; margin-right: 6px }
.nga-stepmenu { position: relative; font-family: "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif }
.nga-stepmenu > summary {
  list-style: none; cursor: pointer; user-select: none; box-sizing: border-box; height: 48px;
  display: flex; align-items: center; gap: 7px; padding: 0 11px; color: #cdd7e0; font-size: 13.5px; font-weight: 600;
  border-bottom: 3px solid transparent; border-top: 3px solid transparent
}
.nga-stepmenu > summary::-webkit-details-marker { display: none }
.nga-stepmenu > summary .nga-num {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px;
  border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: 11px; font-weight: 700
}
.nga-stepmenu > summary .nga-caret { opacity: .7 }
.nga-stepmenu > summary:hover, .nga-stepmenu[open] > summary { color: #fff; background: rgba(255, 255, 255, .07) }
.nga-stepmenu > summary:focus-visible { outline: 2px solid #00a9f4; outline-offset: -2px }
.nga-stepmenu.nga-step-on > summary { color: #fff; border-bottom-color: var(--nga-step) }
.nga-stepmenu.nga-step-on > summary .nga-num { background: var(--nga-step); border-color: var(--nga-step); color: var(--nga-on-ink) }
.nga-c-engage.nga-step-on > summary { border-bottom-color: #8fa3b5 }
.nga-c-engage.nga-step-on > summary .nga-num { border-color: #8fa3b5 }
.nga-stepmenu[open] .nga-caret { transform: rotate(180deg) }

.nga-sm-panel {
  position: absolute; top: 100%; left: 0; width: 340px; max-height: calc(100vh - 60px); overflow: auto;
  background: #fff; color: #333f48; border-top: 4px solid var(--nga-step); border-bottom: 1px solid #c3cad1;
  box-shadow: 0 14px 28px rgba(5, 28, 44, .18); padding: 14px 16px 14px; text-align: left; z-index: 2
}
.nga-sm-right .nga-sm-panel { left: auto; right: 0 }
.nga-sm-head { display: flex; gap: 10px; align-items: flex-start; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid #e0e4e8 }
.nga-sm-head .nga-num, .nga-sm-tracklabel .nga-num {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 4px;
  background: var(--nga-step); color: var(--nga-on-ink); font-size: 11.5px; font-weight: 700
}
.nga-sm-head b { display: block; color: #051c2c; font-family: Bower, "Bower Text", Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 600; line-height: 1.2 }
.nga-sm-head span:not(.nga-num) { display: block; margin-top: 2px; color: #6b7785; font-size: 12.5px }
.nga-stepmenu ul { list-style: none; margin: 0; padding: 0 }
.nga-stepmenu li { margin: 0 0 4px }
.nga-stepmenu .nga-sm-panel li a {
  display: block; padding: 4px 0 4px 9px; border-left: 2px solid transparent; color: #051c2c;
  font-size: 13.5px; font-weight: 600; line-height: 1.35; text-decoration: none
}
.nga-stepmenu .nga-sm-panel li a:hover { color: #2251ff; border-left-color: #c3cad1 }
.nga-stepmenu .nga-sm-panel li.nga-ex a { color: #2251ff }
.nga-stepmenu .nga-sm-panel li.nga-here a { background: #eef4ff; border-left-color: #2251ff }
.nga-stepmenu .nga-kind { display: block; font-size: 10px; margin-bottom: 1px }
.nga-sm-track { margin-top: 8px; padding-top: 8px; border-top: 1px solid #e0e4e8 }
.nga-sm-tracklabel { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 4px; color: #051c2c; font-size: 12.5px; font-weight: 700; line-height: 1.35 }
.nga-sm-tracklabel .nga-num { min-width: 26px; height: 18px; font-size: 10px }
.nga-sm-empty { margin: 4px 0 8px; color: #6b7785; font-size: 13px; line-height: 1.45 }
.nga-stepmenu .nga-sm-panel a.nga-sm-all {
  display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid #e0e4e8;
  color: #2251ff; font-size: 13px; font-weight: 600; text-decoration: none
}
.nga-stepmenu .nga-sm-panel a.nga-sm-all:hover { text-decoration: underline }

/* ---------------------------------------------------------- user guide
   The "?" button and first-visit pointer live in the top bar; the panel is
   fixed to the right edge. Both sit inside exported pages whose own element
   rules would otherwise leak in, so the panel resets what it relies on. */
.nga-actions { display: flex; align-items: center; gap: 18px }
.nga-help-wrap { position: relative; display: inline-flex }
.nga-help {
  all: unset; box-sizing: border-box; cursor: pointer; width: 28px; height: 28px; display: inline-flex;
  align-items: center; justify-content: center; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 50%;
  color: #fff; font: 700 14px/1 "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif
}
.nga-help:hover, .nga-help[aria-expanded="true"] { background: #00a9f4; border-color: #00a9f4; color: #051c2c }
.nga-help:focus-visible { outline: 2px solid #00a9f4; outline-offset: 3px }
.nga-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

.nga-coach {
  position: absolute; top: calc(100% + 12px); right: -6px; width: 250px; padding: 11px 13px; z-index: 60;
  background: #00a9f4; color: #051c2c; box-shadow: 0 8px 20px rgba(5, 28, 44, .25);
  font: 500 13px/1.45 "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left; white-space: normal
}
.nga-coach[hidden] { display: none }
.nga-coach::before {
  content: ""; position: absolute; top: -6px; right: 14px;
  border: 6px solid transparent; border-top: 0; border-bottom-color: #00a9f4
}
.nga-coach button {
  all: unset; cursor: pointer; display: block; margin-top: 6px; font-weight: 700; text-decoration: underline
}
.nga-coach button:focus-visible { outline: 2px solid #051c2c; outline-offset: 2px }

#nga-scrim {
  position: fixed; inset: 0; z-index: 1100; background: rgba(5, 28, 44, .38);
  opacity: 0; pointer-events: none; transition: opacity .2s
}
#nga-guide {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1101; width: min(440px, 92vw);
  display: flex; flex-direction: column; background: #fff; color: #333f48;
  box-shadow: -12px 0 32px rgba(5, 28, 44, .2); transform: translateX(100%); visibility: hidden;
  transition: transform .22s ease, visibility 0s linear .22s;
  font: 400 14px/1.55 "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left
}
.nga-guide-open #nga-guide { transform: none; visibility: visible; transition: transform .22s ease }
.nga-guide-open #nga-scrim { opacity: 1; pointer-events: auto }
#nga-guide * { box-sizing: border-box }
#nga-guide section, #nga-guide h2, #nga-guide h3, #nga-guide p, #nga-guide ul, #nga-guide ol,
#nga-guide li, #nga-guide dl, #nga-guide dt, #nga-guide dd {
  margin: 0; padding: 0; border: 0; background: none; box-shadow: none; max-width: none;
  color: inherit; font: inherit; text-align: left; text-transform: none; letter-spacing: normal
}
#nga-guide a { color: #2251ff; font-weight: 600; text-decoration: none }
#nga-guide a:hover { text-decoration: underline }
#nga-guide b { color: #051c2c; font-weight: 700 }
#nga-guide em { color: #6b7785; font-style: normal; font-size: 12px }
#nga-guide kbd {
  display: inline-block; min-width: 18px; padding: 0 5px; border: 1px solid #c3cad1; border-bottom-width: 2px;
  font: 700 12px/18px "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: center; color: #051c2c
}

.nga-g-head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; background: #051c2c; color: #fff; border-bottom: 3px solid #00a9f4
}
#nga-guide .nga-g-head h2 { color: #fff; font: 600 19px/1.2 Bower, "Bower Text", Georgia, "Times New Roman", serif }
.nga-g-close { all: unset; cursor: pointer; padding: 0 4px; color: #fff; font-size: 28px; line-height: 1 }
.nga-g-close:focus-visible { outline: 2px solid #00a9f4; outline-offset: 2px }
.nga-g-body { flex: 1; overflow: auto; padding: 4px 22px 32px }
#nga-guide .nga-g-body section { padding: 18px 0; border-bottom: 1px solid #e0e4e8 }
#nga-guide .nga-g-body section:last-child { border-bottom: 0 }
#nga-guide .nga-g-body h3 {
  margin-bottom: 9px; color: #2251ff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase
}
#nga-guide .nga-g-body section > ul { padding-left: 18px; list-style: disc }
#nga-guide .nga-g-body section > ul > li { margin: 6px 0 }
#nga-guide .nga-g-steps { list-style: none; margin-top: 12px }
#nga-guide .nga-g-steps > li { display: flex; gap: 11px; margin: 12px 0 }
.nga-g-steps .nga-num {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;
  background: var(--nga-step); color: var(--nga-on-ink); font-size: 11px; font-weight: 700
}
#nga-guide .nga-g-tools { list-style: none; margin-top: 4px; font-size: 13px }
#nga-guide .nga-g-tools li { margin: 3px 0 }
.nga-g-track {
  display: inline-block; min-width: 24px; padding: 0 4px; background: #e3eaf1; color: #051c2c;
  font-size: 10px; font-weight: 700; text-align: center
}
#nga-guide .nga-g-gloss dt { margin-top: 10px; color: #051c2c; font-weight: 700 }
#nga-guide .nga-g-gloss dt::first-letter { text-transform: uppercase }
#nga-guide .nga-g-gloss dd { margin-top: 2px }

/* ---------------------------------------------------------- search
   The field sits in the top bar; the results panel drops to the bar's full
   width like the All tools panel, so .nga-search must stay unpositioned. Link
   rules are scoped to outrank both bars' light-on-navy link colours. */
.nga-search { display: flex; align-items: center; font-family: "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif }
.nga-search-field { position: relative; display: flex; align-items: center }
.nga-search-icon { position: absolute; left: 9px; color: #9fb0bf; pointer-events: none }
.nga-search input {
  all: unset; box-sizing: border-box; width: 170px; height: 30px; padding: 0 26px 0 29px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .28); color: #fff;
  font: 500 13.5px/28px "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left
}
.nga-search input::placeholder { color: #9fb0bf; opacity: 1 }
.nga-search input::-webkit-search-cancel-button { -webkit-appearance: none }
.nga-search input:hover { border-color: rgba(255, 255, 255, .5) }
.nga-search input:focus { background: #fff; color: #051c2c; border-color: #00a9f4 }
.nga-search input:focus::placeholder { color: #8a96a3 }
.nga-search-field:focus-within .nga-search-icon { color: #6b7785 }
.nga-search-key {
  position: absolute; right: 7px; min-width: 14px; height: 16px; padding: 0 2px; box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .3); color: #9fb0bf; pointer-events: none;
  font: 600 11px/14px "McKinsey Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: center
}
.nga-search-field:focus-within .nga-search-key { display: none }

.nga-search-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 3; background: #fff; color: #333f48;
  border-top: 3px solid #00a9f4; border-bottom: 1px solid #c3cad1;
  box-shadow: 0 14px 28px rgba(5, 28, 44, .16); max-height: calc(100vh - 60px); overflow: auto; text-align: left
}
.nga-search-panel[hidden] { display: none }
.nga-actions:has(.nga-search-panel:not([hidden])) .nga-coach { display: none }
.nga-search-inner { max-width: 1180px; margin: 0 auto; padding: 16px 40px 18px; box-sizing: border-box }
.nga-search-panel p, .nga-search-panel ol, .nga-search-panel li {
  margin: 0; padding: 0; list-style: none; max-width: none; color: inherit; font: inherit; text-align: left
}
.nga-search-panel .nga-sr-count {
  margin-bottom: 4px; color: #2251ff; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase
}
.nga-search-panel .nga-sr-msg { padding: 6px 0; color: #6b7785; font-size: 13.5px; line-height: 1.5 }
.nga-search-panel .nga-hit { padding: 12px 0; border-bottom: 1px solid #e0e4e8 }
.nga-search-panel .nga-hit:last-child { border-bottom: 0 }
.nga-search .nga-search-panel a.nga-hit-title {
  color: #051c2c; font: 600 17px/1.25 Bower, "Bower Text", Georgia, "Times New Roman", serif; text-decoration: none
}
.nga-search .nga-search-panel a.nga-hit-title:hover, .nga-search .nga-search-panel a.nga-hit-title:focus { color: #2251ff }
.nga-hit-meta { display: flex; align-items: center; gap: 9px; margin: 4px 0 6px; color: #6b7785; font-size: 12.5px }
.nga-hit-kind {
  padding: 1px 7px; border: 1px solid #c3cad1; color: #6b7785;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase
}
.nga-search .nga-search-panel a.nga-hit-snip {
  display: block; padding: 3px 0 3px 10px; border-left: 2px solid transparent; color: #333f48;
  font-size: 13.5px; font-weight: 400; line-height: 1.5; text-decoration: none
}
.nga-search .nga-search-panel a.nga-hit-snip:hover, .nga-search .nga-search-panel a.nga-hit-snip:focus {
  color: #051c2c; background: #f2f5f8; border-left-color: #2251ff
}
.nga-search-panel a:focus-visible { outline: 2px solid #00a9f4; outline-offset: 2px }
.nga-search-panel mark { background: rgba(0, 169, 244, .22); color: #051c2c; font-weight: 600; padding: 0 1px }
.nga-search .nga-search-panel .nga-hit-in { display: block; color: #6b7785; font-size: 12px; font-weight: 600 }

/* The words a search match pointed at, on the page it opened. */
::highlight(nga-find) { background-color: rgba(0, 169, 244, .3); color: #051c2c }
.nga-found { animation: nga-found 2.4s ease-out }
@keyframes nga-found {
  0%, 35% { background-color: rgba(0, 169, 244, .12); box-shadow: 0 0 0 6px rgba(0, 169, 244, .12) }
  100% { background-color: transparent; box-shadow: 0 0 0 6px transparent }
}

.nga-hub-brand, .nga-menu > summary, .nga-stepmenu > summary { white-space: nowrap }
.nga-hub-brand, .topbar .brand { flex: none; white-space: nowrap }
@media (max-width: 1240px) {
  .nga-actions { gap: 14px }
  .nga-search input { width: 140px }
  .nga-stepmenu > summary { padding: 0 8px }
  .nga-stepmenu > summary .nga-sl, .nga-stepmenu > summary .nga-caret { display: none }
  .nga-stepmenu.nga-step-on > summary .nga-sl { display: inline }
}
@media (max-width: 680px) {
  .nga-search input { width: 104px }
  .nga-search-key { display: none }
  .nga-search-inner { padding: 14px 20px }
}

@media (max-width: 680px) {
  .nga-actions { gap: 14px }
  .nga-coach { width: min(250px, calc(100vw - 32px)) }
}

@media (max-width: 1040px) {
  .nga-menu-inner { padding: 16px 24px }
  .nga-menu-grid { grid-template-columns: 1fr 1fr; gap: 16px 18px }
  .nga-menu-col.nga-c-act { grid-column: 1 / -1 }
  .nga-context-inner { padding: 10px 24px; gap: 10px }
  .nga-stepmenu > summary { padding: 0 8px }
  .nga-stepmenu > summary .nga-sl, .nga-stepmenu > summary .nga-caret { display: none }
  .nga-stepmenu.nga-step-on > summary .nga-sl { display: inline }
}
@media (max-width: 820px) {
  .nga-steps { display: none }
}
@media (max-width: 680px) {
  .nga-menu-grid { grid-template-columns: 1fr }
}

@media (max-width: 1040px) {
  .nga-hub-inner { padding: 0 24px }
  .nga-site-foot-inner { padding: 24px 24px 28px }
  .nga-search-inner { padding: 16px 24px }
}
@media (max-width: 680px) {
  .nga-hub-brand { font-size: 13px }
}
/* On a phone the brand keeps only its marker; Home sits beside it. */
@media (max-width: 540px) {
  .nga-hub-bar .nga-hub-brand, .topbar .brand { font-size: 0; gap: 0 }
  .nga-actions { gap: 12px }
  .nga-hub-inner, .topbar-inner { padding: 0 16px }
}
@media print {
  .nga-hub-bar, .nga-context, #nga-guide, #nga-scrim, .nga-help-wrap { display: none }
}
