/*! MorphonLink | Copyright (c) 2026 Zumasa. Original portions only: LICENSE.txt. Third-party materials: ASSET_LICENSES.md. */
:root { --site-header-height: 48px; }
body.has-site-navigation { margin: 0; }
.global-header { box-sizing: border-box; position: relative; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; height: var(--site-header-height); padding: 0 22px; border-bottom: 1px solid #dce3e3; background: #fff; color: #273133; font: 14px/1.4 "Yu Gothic UI", Meiryo, system-ui, sans-serif; }
.global-brand { color: #273133; font-size: 16px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.global-nav { display: flex; align-self: stretch; gap: 4px; }
.global-nav a { box-sizing: border-box; display: flex; align-items: center; padding: 0 12px; border-bottom: 3px solid transparent; color: #526164; font-weight: 500; text-decoration: none; white-space: nowrap; }
.global-nav a:hover { color: #25666c; background: #f0f6f6; }
.global-nav a[aria-current="page"] { color: #25666c; border-color: #25666c; font-weight: 700; }
.global-header a:focus-visible, .global-menu-toggle:focus-visible { outline: 2px solid #943e50; outline-offset: -3px; }
.global-menu-toggle { display: none; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 4px; background: transparent; color: #273133; cursor: pointer; }
.global-menu-toggle:hover { background: #f0f6f6; }
.global-menu-toggle svg { display: block; width: 22px; height: 22px; }
body.has-site-navigation .app-shell { grid-template-rows: minmax(0, 1fr) auto; }
body.has-site-navigation .app-shell:has(#diagramStage[data-rendered-mode="pose"]) { height: calc(100dvh - var(--site-header-height)); }
body.has-site-navigation > .app-shell:not(:has(#diagramStage[data-rendered-mode="pose"])) { height: calc(100dvh - var(--site-header-height)); }
.app-shell[hidden], #siteDocument[hidden] { display: none !important; }
html[data-site-view="page"], html[data-site-view="page"] body { height: auto !important; min-height: 100% !important; overflow: auto !important; background: #fff; }
@media (max-width: 1120px) {
  .global-header { padding: 0 12px 0 16px; }
  .global-menu-toggle { display: flex; }
  .global-nav { box-sizing: border-box; position: absolute; top: calc(100% + 4px); right: 12px; display: none; width: 200px; max-width: calc(100vw - 24px); max-height: calc(100dvh - var(--site-header-height) - 16px); overflow-y: auto; overscroll-behavior: contain; gap: 2px; padding: 4px; border: 1px solid #dce3e3; border-radius: 6px; background: #fff; box-shadow: 0 6px 18px #25383924; }
  .global-header[data-menu-open] .global-nav { display: grid; }
  .global-nav a { min-height: 44px; padding: 8px 12px; border-bottom: 0; border-left: 3px solid transparent; }
  .global-nav a[aria-current="page"] { background: #eef5f5; border-left-color: #25666c; }
}
