  @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/IBMPlexSans-Light-Latin1.woff2') format('woff2'); }
  @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/IBMPlexSans-Regular-Latin1.woff2') format('woff2'); }
  @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/IBMPlexSans-Medium-Latin1.woff2') format('woff2'); }
  @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/IBMPlexSans-SemiBold-Latin1.woff2') format('woff2'); }
  @font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/IBMPlexMono-Regular-Latin1.woff2') format('woff2'); }
  @font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/IBMPlexMono-Medium-Latin1.woff2') format('woff2'); }
  @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/Montserrat-Bold-Latin.woff2') format('woff2'); }
  body { margin: 0; background: #ffffff; -webkit-font-smoothing: antialiased; }
  a { color: #4f6c87; text-decoration: none; }
  a:hover { color: #3d5670; text-decoration: underline; }
  ::selection { background: #c9daf8; }
  html, body { overflow-x: hidden; }
  [data-mitg-menu-btn][data-open="true"] [data-mitg-when="closed"], [data-mitg-menu-btn]:not([data-open="true"]) [data-mitg-when="open"] { display: none !important; }
  @media (max-width: 900px) { [data-mitg-cols="3"] { grid-template-columns: 1fr !important; } }
  @media (max-width: 1000px) { [data-mitg-cols="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } [data-mitg-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
  @media (max-width: 560px) { [data-mitg-cols="6"], [data-mitg-cols="5"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } [data-mitg-cols="4"] { grid-template-columns: 1fr !important; } }
  @media (max-width: 768px) {
    [data-mitg-menu-btn] { display: flex !important; }
    [data-mitg-nav] { display: none !important; }
    [data-mitg-nav][data-open="true"] { display: flex !important; flex-direction: column; flex: 1 0 100% !important; border-top: 1px solid #434343; }
    [data-mitg-nav][data-open="true"] button { height: 52px !important; text-align: left; border-bottom: 1px solid #2d2d2d; font-size: 16px !important; }
  }
  @media (max-width: 720px) {
    [data-mitg-rowlabel] { position: sticky; left: 0; z-index: 1; background: #ffffff; width: 96px !important; max-width: 96px; padding-right: 12px !important; overflow-wrap: anywhere; box-shadow: 8px 0 12px -10px rgba(0,0,0,.35); }
    [data-mitg-swipe] { display: block !important; }
    [data-mitg-split] { grid-template-columns: 1fr !important; }
    [data-mitg-table] { min-width: 760px !important; font-size: 14px !important; table-layout: fixed; }
    [data-mitg-lanes] { --lane-label: 96px; grid-template-columns: var(--lane-label) repeat(var(--lane-cols, 6), minmax(0, 1fr)) !important; }
    [data-mitg-lanelabel] { position: sticky; left: 0; z-index: 1; background: var(--lane-bg, #ffffff); padding-right: 8px; box-shadow: 8px 0 12px -10px rgba(0,0,0,.35); overflow-wrap: anywhere; align-self: stretch !important; display: flex; align-items: center; }
  }

  /* static build additions */
  .skip { position: absolute; left: 8px; top: -100px; z-index: 100; background: #ffffff; color: #1a1a1a; padding: 8px 12px; font-family: 'IBM Plex Sans', system-ui, sans-serif; }
  .skip:focus { top: 8px; }
  header a:focus-visible, header button:focus-visible, footer a:focus-visible, main a:focus-visible { outline: 2px solid #7a97b2; outline-offset: -2px; }
  [data-mitg-current] { box-shadow: inset 0 -3px 0 var(--acc, #4f6c87); }
  .hv1:hover { background: #3d5670; }
  .hv2:hover { background: #2d2d2d; }
  .hv3:hover { color: #3d5670; }
  .hv4:hover { border-top-color: #4f6c87; }
  .hv5:hover { color: #cccccc; }
  .hv6:hover { color: #ffffff; }
  .hv7:hover { background: #3d5670; text-decoration: none; }

/* Homepage artwork: D5 soft enclosure. */
.mitg-home-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 720px) {
  .mitg-home-hero-art { object-position: right center; opacity: .65; }
}

/* Keep the MTR investigation example readable on narrow screens. */
@media (max-width: 560px) {
  .mitg-alert-row { grid-template-columns: minmax(0, 1fr) auto !important; gap: 8px 14px !important; }
  .mitg-alert-row > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .mitg-alert-row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .mitg-alert-row > :nth-child(3) { grid-column: 2; grid-row: 1; }
  .mitg-contained-row { grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; }
}

/* Buyer-facing navigation and examples. */
.mitg-service-link { color: #1a1a1a; text-decoration: underline; text-decoration-color: #a8b6c3; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mitg-service-link:hover { color: #3d5670; text-decoration-color: currentColor; }
main .mitg-service-link:focus-visible { outline: 2px solid #4f6c87; outline-offset: 4px; }
.mitg-meeting-cta > span { min-width: 0; }
.mitg-meeting-cta > svg { flex: 0 0 16px; }
.mitg-decision-example { margin-top: 28px; padding: clamp(20px, 3vw, 32px); background: #ffffff; border-left: 3px solid var(--acc, #4f6c87); }
.mitg-decision-row { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 12px 24px; padding: 16px 0; border-top: 1px solid #d9d9d9; font-size: 15px; line-height: 1.6; }
.mitg-decision-row dt { font-weight: 500; }
.mitg-decision-row dd { margin: 0; color: #5a5a5a; }
@media (max-width: 720px) { .mitg-decision-row { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* Summary banners unify the diagram beneath or beside them. */
.mitg-program-banner { background: var(--acc, #4f6c87); color: #ffffff; padding: 18px 20px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 24px; text-align: center; }
.mitg-program-banner > span { min-width: 0; line-height: 1.5; text-wrap: balance; }
.mitg-program-banner > span:first-child { flex-shrink: 0; }
@media (max-width: 720px) { .mitg-program-banner { flex-direction: column; gap: 8px; } }
