/* Low-priority reading and control primitives. Live central CSS wins. */
@layer mh-api-fallback {
  :root {
    --mh-ink: #08233e;
    --mh-blue: #076a9f;
    --mh-blue-dark: #04527d;
    --mh-text: #3d5d75;
    --mh-muted: #52697d;
    --mh-background: #edf5fa;
    --mh-surface: #f7fbfd;
    --mh-white: #fff;
    --mh-border: #d4e0e9;
    --mh-radius: 20px;
    --mh-shell: 1160px;
    --mh-sans: "Segoe UI", Arial, sans-serif;
    --mh-serif: Georgia, serif;
  }
  .mh-page, .mh-page * { box-sizing: border-box; }
  .mh-page { margin: 0; color: var(--mh-ink); background: var(--mh-background); font: 18px/1.7 var(--mh-sans); }
  .mh-page a { color: inherit; }
  .mh-page img { display: block; max-width: 100%; }
  .mh-page h1, .mh-page h2, .mh-page h3, .mh-page p { margin-top: 0; }
  .mh-page h1 { font-size: clamp(2.5rem, 5vw, 3.15rem); line-height: 1.1; }
  .mh-page h2 { font: 400 clamp(2rem, 4vw, 3rem)/1.15 var(--mh-serif); }
  .mh-shell { width: min(var(--mh-shell), calc(100% - 40px)); margin-inline: auto; }
  .mh-section { padding-block: 52px; }
  .mh-hero, .mh-section--soft { background: var(--mh-surface); }
  .mh-eyebrow { color: var(--mh-blue); font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .mh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-block: 28px; }
  .mh-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 12px; padding: 12px 22px; border: 1px solid var(--mh-border); border-radius: 999px; font: inherit; cursor: pointer; text-decoration: none; }
  .mh-button-primary { background: var(--mh-blue); color: white; }
  .mh-card-grid { display: grid; gap: 18px; }
  .mh-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mh-card { padding: 24px; border: 1px solid var(--mh-border); border-radius: var(--mh-radius); background: var(--mh-white); }
  @media (max-width: 760px) { .mh-card-grid--3 { grid-template-columns: 1fr; } }
}

/* API layout only. Shared design belongs to the live central stylesheet. */
.mh-gateway { margin: 0; font-synthesis: none; }
.mh-gateway [hidden] { display: none !important; }
.mh-gateway :is(a, button, summary):focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.mh-gateway section[id], .mh-gateway details[id] { scroll-margin-top: 24px; }
.mh-gateway button { font: inherit; }
.mh-gateway-header { background: var(--mh-white); border-bottom: 1px solid var(--mh-border); }
.mh-gateway-header > div { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-block: 16px; }
.mh-gateway-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 23px; font-weight: 730; letter-spacing: -.025em; text-decoration: none; }
.mh-gateway-brand img { flex: none; width: 44px; height: 44px; border-radius: 8px; }
.mh-gateway-brand small { margin-left: 6px; color: var(--mh-blue); font-size: .75rem; letter-spacing: .08em; }
.mh-gateway-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.mh-gateway-nav a, .mh-gateway-language { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 600; text-decoration: none; }
.mh-gateway-nav a:hover, .mh-gateway-language:hover { text-decoration: underline; text-underline-offset: 5px; }
.mh-gateway-language { padding-left: 22px; border-left: 1px solid var(--mh-border); gap: 8px; }
.mh-gateway-skip { position: absolute; top: -120px; left: 20px; z-index: 10; padding: 12px 24px; background: var(--mh-white); color: var(--mh-ink); }
.mh-gateway-skip:focus { top: 12px; }
.mh-gateway-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.mh-gateway .mh-hero { padding-block: 60px; }
.mh-gateway h1 em { color: var(--mh-blue); font-style: normal; }
.mh-gateway-lead { color: var(--mh-text); font-size: 19px; line-height: 1.78; }
.mh-gateway-note { color: var(--mh-muted); font-size: .875rem; line-height: 1.6; }
.mh-gateway-console { min-width: 0; border: 1px solid var(--mh-border); border-radius: var(--mh-radius); overflow: hidden; background: var(--mh-ink); color: var(--mh-white); box-shadow: var(--mh-shadow); }
.mh-gateway-console-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid #ffffff38; }
.mh-gateway-console-head p { margin: 0; font-size: 1rem; font-weight: 600; }
.mh-gateway-console-body { padding: 24px; }
.mh-gateway-console pre { margin: 20px 0; white-space: pre-wrap; overflow-wrap: anywhere; font: .875rem/1.9 Consolas, monospace; }
.mh-gateway-console code { font: inherit; }
.mh-gateway-console .mh-gateway-note { color: inherit; opacity: .9; }
.mh-gateway-copy { min-height: 44px; padding: 8px 16px; border: 1px solid currentColor; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; }
.mh-gateway-copy:hover { background: #ffffff18; }
.mh-gateway-copy-status { min-height: 1.5em; font-size: .875rem; margin: 8px 0 16px; }
.mh-gateway-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 20px; border-top: 1px solid #ffffff38; }
.mh-gateway-facts span, .mh-gateway-facts b { display: block; font-size: .8rem; }
.mh-gateway-facts b { margin-top: 6px; font-weight: 600; }
.mh-gateway .mh-section-intro { margin-bottom: 32px; }
.mh-gateway .mh-section-intro h2 { margin-bottom: 0; }
.mh-gateway-badge { display: inline-block; padding: 4px 9px; border: 1px solid currentColor; border-radius: 5px; color: var(--mh-blue); font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.mh-gateway-console .mh-gateway-badge { color: inherit; }
.mh-gateway-docs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 64px; }
.mh-gateway-doc-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid var(--mh-border); text-decoration: none; }
.mh-gateway-doc-links a:last-child { border-bottom: 1px solid var(--mh-border); }
.mh-gateway-doc-links a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.mh-gateway-doc-links b, .mh-gateway-doc-links small { display: block; }
.mh-gateway-doc-links b { font-size: 1.125rem; }
.mh-gateway-doc-links small { margin-top: 6px; color: var(--mh-muted); font-size: .875rem; }
.mh-gateway-status { border-top: 1px solid var(--mh-border); }
.mh-gateway-status > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.mh-gateway-status p:last-child { margin-bottom: 0; }
.mh-gateway-footer { padding-block: 32px; background: var(--mh-ink); color: var(--mh-white); }
.mh-gateway-footer .mh-gateway-brand small { color: inherit; }
.mh-gateway-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.mh-gateway-footer-top p { max-width: 400px; margin: 0; font-size: 1rem; }
.mh-gateway-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-block: 24px; }
.mh-gateway-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
.mh-gateway-rights { border-top: 1px solid #ffffff38; padding-top: 20px; font-size: .875rem; }
.mh-gateway-rights summary { cursor: pointer; padding-block: 8px; min-height: 44px; }
.mh-gateway-rights p { max-width: 850px; margin-block: 12px 0; }
@media (max-width: 900px) {
  .mh-gateway-hero { grid-template-columns: 1fr; gap: 32px; }
  .mh-gateway-nav { order: 3; flex-basis: 100%; margin: 0; justify-content: space-between; }
  .mh-gateway-language { margin-left: auto; }
  .mh-gateway-docs, .mh-gateway-status > div { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .mh-gateway-header > div { gap: 10px 18px; }
  .mh-gateway-brand { font-size: 20px; }
  .mh-gateway-brand small { margin-left: 2px; }
  .mh-gateway-nav { gap: 6px 16px; }
  .mh-gateway .mh-hero { padding-block: 36px; }
  .mh-gateway-console-body, .mh-gateway-console-head { padding: 20px; }
  .mh-gateway-console pre { font-size: .8125rem; }
  .mh-gateway-facts { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-gateway *, .mh-gateway *::before, .mh-gateway *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .mh-gateway :is(a, button, summary):focus-visible { outline-color: Highlight; }
}
@media print {
  .mh-gateway { background: white; color: black; }
  .mh-gateway-skip, .mh-gateway-nav, .mh-gateway-language, .mh-gateway-copy { display: none !important; }
  .mh-gateway-hero, .mh-gateway-docs, .mh-gateway-status > div { display: block; }
  .mh-gateway-console, .mh-gateway-footer { background: white; color: black; box-shadow: none; }
  .mh-gateway-console { border-color: black; margin-top: 24px; }
  .mh-gateway .mh-card { break-inside: avoid; }
}

.mh-gateway #quick-start { scroll-margin-top: 24px; }
.mh-gateway-response summary { min-height: 44px; cursor: pointer; padding-block: 12px; }

.mh-gateway-footer .mh-gateway-note { color: inherit; }
