/* v09_73 font path: critical render uses system stack first; self-hosted Noto Sans JP loads asynchronously via shell JS when allowed. */

:root {
  --hub-font-sans: "Noto Sans JP Variable", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;


  --hub-bg1: #e8f3ff;
  --hub-bg2: #d8eafc;
  --hub-fixed-bg-wash-highlight: rgba(251,254,255,.995);
  --hub-fixed-bg-wash-core: rgba(214,238,255,.94);
  --hub-fixed-bg-wash-mid: rgba(124,196,255,.50);
  --hub-fixed-bg-wash-fade: rgba(96,173,244,.20);
  --hub-card: rgba(247,251,255,.95);
  --hub-line: #b6cdea;
  --hub-text: #13253f;
  --hub-muted: #4f6987;
  --hub-blue: #2f75d4;
  --hub-shadow: 0 10px 22px rgba(9,20,40,.055);
  --hub-right-rail-width: 56px;
  --hub-right-popout-width: 280px;
  --hub-right-popout-gap: 10px;
  --hub-left-compact-width: 88px;
  --hub-left-open-width: 292px;
  --hub-left-brand-fixed-height: 124px;
  --hub-left-nav-link-height: 52px;
  --hub-left-reserve: calc(var(--hub-left-compact-width) + 10px);
  --hub-left-gutter: calc(var(--hub-left-compact-width) + 24px);
  --hub-right-reserve: calc(var(--hub-right-rail-width) + var(--hub-right-popout-gap) + 10px);
  --hub-right-slot-width: var(--hub-right-rail-width);
  --hub-right-toggle-size: 36px;
  --hub-right-toggle-arrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath fill='none' stroke='%2327415c' stroke-linecap='round' stroke-linejoin='round' stroke-width='7' d='M47 18 25 40l22 22'/%3E%3C/svg%3E");
  --hub-right-toggle-pin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%2327415c' stroke-linecap='round' stroke-linejoin='round' stroke-width='5.5'%3E%3Cpath d='M28 18h24l-3 12 8 9H23l8-9-3-12Z'/%3E%3Cpath d='M40 39v23'/%3E%3Cpath d='M34 62 40 70l6-8'/%3E%3C/g%3E%3C/svg%3E");
  --hub-stage-gap: 18px;
  --hub-stage-gap-compact: 14px;
  --hub-center-shell-max-width: 1540px;
  --hub-stage-max-width: calc(var(--hub-center-shell-max-width) + var(--hub-right-slot-width) + var(--hub-stage-gap));
  --hub-rail-float-top: 16px;
  --hub-left-fixed-x: 0px;
  --hub-left-fixed-width: 280px;
  --hub-right-fixed-x: 0px;
  --hub-left-placeholder-height: 0px;
  --hub-right-placeholder-height: 0px;
}
* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  position: relative;
  color: var(--hub-text);
  background: transparent;
  font-family: var(--hub-font-sans);
  font-weight: 500;
  font-synthesis-weight: none;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #e6f1fc;
  background-image:
    radial-gradient(1880px 760px at 50% -18%, var(--hub-fixed-bg-wash-highlight) 0%, var(--hub-fixed-bg-wash-core) 22%, var(--hub-fixed-bg-wash-mid) 44%, var(--hub-fixed-bg-wash-fade) 60%, rgba(96,173,244,0) 76%),
    linear-gradient(180deg, #eff8ff 0%, #e6f3ff 56%, #deeeff 100%);
  background-repeat: no-repeat;
}
body > :not(script):not(style) {
  position: relative;
  z-index: 1;
}
html.hub-shell-boot body .hub-left,
html.hub-shell-boot body .hub-right,
html.hub-shell-boot body .hub-left-dock,
html.hub-shell-boot body .hub-right-dock,
html.hub-shell-boot body .hub-rail-backdrop,
html.hub-shell-boot body .hub-right-popout,
html.hub-shell-boot body .hub-right-popout-scroll {
  transition: none !important;
}

.hub-shell {
  width: min(calc(100% - 24px), var(--hub-stage-max-width));
  margin: 16px auto 28px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) var(--hub-right-slot-width);
  gap: var(--hub-stage-gap);
  align-items: start;
}
.hub-panel {
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  border-radius: 24px;
  box-shadow: var(--hub-shadow);
}
.hub-left,
.hub-right {
  position: sticky;
  top: 16px;
  align-self: start;
}
body.hub-float-rails-ready .hub-left,
body.hub-float-rails-ready .hub-right {
  position: relative;
  top: auto;
}
body.hub-float-rails-ready .hub-left {
  min-height: var(--hub-left-placeholder-height);
}
body.hub-float-rails-ready .hub-right {
  min-height: var(--hub-right-placeholder-height);
}
.hub-left {
  grid-column: 1;
  z-index: 30;
}
.hub-right {
  grid-column: 3;
  justify-self: end;
  width: var(--hub-right-slot-width);
  min-width: var(--hub-right-slot-width);
  z-index: 34;
}
.hub-left-dock,
.hub-right-dock {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hub-left-dock {
  max-height: calc(100vh - (var(--hub-rail-float-top) * 2));
  max-height: calc(100dvh - (var(--hub-rail-float-top) * 2));
}
.hub-left .hub-brand {
  flex: 0 0 auto;
}
.hub-left .hub-nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.hub-left .hub-nav-list {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
  overflow-x: clip;
  overscroll-behavior: contain;
  padding-right: 0;
}
.hub-left .hub-nav-list::-webkit-scrollbar {
  width: 10px;
}
.hub-left .hub-nav-list::-webkit-scrollbar-thumb {
  background: rgba(140,172,211,.62);
  border-radius: 999px;
  border: 2px solid rgba(247,250,254,.96);
}
body.hub-float-rails-ready .hub-left-dock,
body.hub-float-rails-ready .hub-right-dock {
  position: fixed;
  top: var(--hub-rail-float-top);
}
body.hub-float-rails-ready .hub-left-dock {
  left: var(--hub-left-fixed-x);
  width: var(--hub-left-fixed-width);
  min-width: var(--hub-left-fixed-width);
  max-width: var(--hub-left-fixed-width);
}
body.hub-float-rails-ready .hub-right-dock {
  left: var(--hub-right-fixed-x);
}
.hub-brand,
.hub-nav,
.hub-meta,
.hub-viewer-frame {
  border: 1px solid var(--hub-line);
  border-radius: 24px;
  box-shadow: var(--hub-shadow);
}
.hub-brand,
.hub-nav,
.hub-meta {
  background: var(--hub-card);
}
.hub-viewer-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: rgba(247,250,254,.985);
}
.hub-brand,
.hub-nav,
.hub-meta {
  padding: 16px;
}
.hub-brand {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}
.hub-brand-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.hub-rail-toggle,
.hub-right-toggle,
.hub-ghost-btn {
  appearance: none;
  cursor: pointer;
  border: 1px solid #b9d3eb;
  background: #eaf4ff;
  color: #234d77;
  border-radius: 999px;
  transition: background-color .12s ease, border-color .12s ease, transform .12s ease;
}
.hub-rail-toggle,
.hub-right-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  color: transparent;
  overflow: hidden;
  text-indent: -9999px;
}
.hub-rail-toggle {
  background-image: var(--hub-right-toggle-pin-icon);
}
body.hub-left-pinned .hub-rail-toggle {
  background-color: #d4e1f3;
  border-color: #95b3d6;
}

.hub-right-toggle {
  width: 44px;
  height: auto;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 2px;
  background-image: none;
  border-radius: 14px;
  color: #234d77;
  text-indent: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}
.hub-right-toggle::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23234d77' stroke-linecap='round' stroke-width='1.8' d='M8 6h12M8 12h12M8 18h12M3 6h1M3 12h1M3 18h1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hub-right.is-pinned .hub-right-toggle {
  background-image: none;
  background-color: #d4e1f3;
  border-color: #95b3d6;
}
.hub-rail-toggle:hover,
.hub-right-toggle:hover,
.hub-ghost-btn:hover {
  background-color: #dff0ff;
  border-color: #aec6e1;
}
.hub-rail-toggle:active,
.hub-right-toggle:active,
.hub-ghost-btn:active {
  transform: scale(.98);
}
.hub-rail-toggle:focus-visible,
.hub-right-toggle:focus-visible,
.hub-ghost-btn:focus-visible,
.hub-nav-link:focus-visible,
.hub-brand-home:focus-visible,
.hub-toc-link:focus-visible,
.hub-catalog-link:focus-visible {
  outline: 2px solid #8dacd3;
  outline-offset: 2px;
}
.hub-brand-home {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}
.hub-brand-row {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  gap: 14px;
  align-items: center;
}
.hub-brand-copy-wrap {
  min-width: 0;
}
.hub-brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  flex: 0 0 56px;
  border: 1px solid #c7d8ee;
  background: linear-gradient(180deg, #f1f8ff, #dcecff);
}
.hub-brand-kicker,
.hub-section-title,
.hub-page-state-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #566f8b;
}
.hub-brand-title {
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #18334f;
  overflow-wrap: anywhere;
}
/* Current location uses existing registry metadata and the fixed brand-card envelope. */
.hub-brand-home[data-current-location] .hub-brand-kicker {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hub-brand-home[data-current-location] .hub-brand-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-height: 2.4em;
  overflow: hidden;
  white-space: normal;
}
@media (max-height: 680px) {
  .hub-brand-home[data-current-location] .hub-brand-title {
    display: block;
    max-height: 1.2em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* Keep the fixed-height brand card for identity, not legacy implementation notes. */
.hub-brand-copy {
  display: none;
}
.hub-brand-copy,
.hub-meta p,
.hub-page-state-copy,
.hub-toc-empty {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #526882;
  overflow-wrap: anywhere;
}
.hub-section-title {
  margin: 0 0 10px;
}
.hub-nav-list,
.hub-toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hub-nav-link,
.hub-toc-link,
.hub-catalog-link {
  display: block;
  text-decoration: none;
  color: #284863;
  background: #e9f3fd;
  border: 1px solid #bfd0e2;
  border-radius: 16px;
}
.hub-nav-link { padding: 10px 12px; }
.hub-nav-item {
  position: relative;
}
.hub-nav-link[data-has-flyout="1"] .hub-nav-ico::after {
  content: "›";
  margin-left: 1px;
  font-size: 11px;
  line-height: 1;
  opacity: .72;
}
.hub-left-flyout-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 58;
}
.hub-left-flyout-panel {
  position: fixed;
  width: min(320px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 20px;
  border: 1px solid rgba(156, 178, 205, .84);
  background: rgba(249, 252, 255, .98);
  box-shadow: 0 22px 52px rgba(17, 34, 58, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px) scale(.988);
  transition: opacity .14s ease, transform .14s ease, visibility 0s linear .14s;
  overflow: hidden;
  pointer-events: none;
}
.hub-left-flyout-layer.is-open .hub-left-flyout-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
  pointer-events: auto;
}
.hub-left-flyout-head {
  padding: 0;
  border-bottom: 1px solid #d8e3ef;
  background: linear-gradient(180deg, rgba(241,247,253,.98), rgba(249,252,255,.98));
}
.hub-character-order {
  container: character-order / inline-size;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hub-left-flyout-head .hub-character-order {
  padding: 0 12px 10px;
}
.hub-character-order button {
  min-block-size: 2.5rem;
  padding: 4px 9px;
  border: 1px solid #bfd0e2;
  border-radius: 10px;
  background: #f8fbff;
  color: #284863;
  font: inherit;
  font-size: .875rem;
  line-height: 1.35;
  cursor: pointer;
}
.hub-character-order button:hover,
.hub-character-order button[aria-pressed="true"] {
  background: #dbeafd;
  border-color: #91aed1;
}
.hub-character-order button:focus-visible {
  outline: 2px solid #315d89;
  outline-offset: 1px;
}
body.hub-reading-narrow .hub-character-order button {
  min-block-size: 44px;
}
.hub-character-order-short {
  display: none;
}
@container character-order (max-width: 17.5rem) {
  .hub-character-order-full {
    display: none;
  }
  .hub-character-order-short {
    display: inline;
  }
}
.hub-left-flyout-headlink,
.hub-left-flyout-headstatic {
  display: block;
  padding: 14px 16px 12px;
}
.hub-left-flyout-headlink {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background .14s ease, box-shadow .14s ease, color .14s ease;
}
.hub-left-flyout-headlink:hover,
.hub-left-flyout-headlink:focus-visible {
  background: linear-gradient(180deg, rgba(214,231,248,.99), rgba(233,244,255,.99));
  box-shadow: inset 0 0 0 1px rgba(76,122,170,.32), inset 0 14px 30px rgba(118,167,218,.12);
}
.hub-left-flyout-headlink:hover .hub-left-flyout-kicker,
.hub-left-flyout-headlink:focus-visible .hub-left-flyout-kicker {
  color: #355c84;
}
.hub-left-flyout-headlink:hover .hub-left-flyout-title,
.hub-left-flyout-headlink:focus-visible .hub-left-flyout-title {
  color: #0f3e6d;
}
.hub-left-flyout-headlink:hover .hub-left-flyout-sub,
.hub-left-flyout-headlink:focus-visible .hub-left-flyout-sub {
  color: #3f6489;
}
.hub-left-flyout-headlink:hover .hub-left-flyout-head-arrow,
.hub-left-flyout-headlink:focus-visible .hub-left-flyout-head-arrow {
  color: #22568f;
  transform: translateX(2px);
}
.hub-left-flyout-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #58718d;
  text-transform: uppercase;
}
.hub-left-flyout-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.hub-left-flyout-title {
  min-width: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  color: #18334f;
}
.hub-left-flyout-head-arrow {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  color: #3e5f82;
  transition: color .14s ease, transform .14s ease;
}
.hub-left-flyout-sub {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.5;
  color: #566d87;
}
.hub-left-flyout-scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 10px 10px 8px;
}
.hub-left-flyout-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hub-left-flyout-link {
  display: block;
  text-decoration: none;
  color: #284863;
  background: #e9f3fd;
  border: 1px solid #bfd0e2;
  border-radius: 14px;
  padding: 10px 12px;
}
.hub-left-flyout-link:hover,
.hub-left-flyout-link:focus-visible {
  background: #deecfb;
  border-color: #a8bfdc;
}
.hub-left-flyout-link.is-current {
  background: #d5e7fa;
  border-color: #8dacd3;
  color: #315d95;
}
.hub-left-flyout-link-main {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

/* Approximate dialogue length: supplementary, wrapping with its link label. */
.hub-dialogue-length {
  display: inline-block;
  box-sizing: border-box;
  margin-left: .5em;
  padding: 1px 6px;
  border: 1px solid #c5d5e6;
  border-radius: 999px;
  background: #f4f8fd;
  color: #526b85;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  text-decoration: none;
  vertical-align: middle;
  white-space: nowrap;
}
.dialogue-log .dialogue-volume-guide .dialogue-volume-link {
  flex-wrap: wrap;
}
.dialogue-volume-link .hub-dialogue-length {
  max-width: 100%;
  margin-left: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.hub-left-flyout-link-sub {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.4;
  color: #586f8a;
}
.hub-left-flyout-foot {
  padding: 10px;
  border-top: 1px solid #d8e3ef;
  background: rgba(243, 248, 253, .96);
}
.hub-left-flyout-index {
  display: block;
  text-decoration: none;
  color: #284863;
  background: #edf5fd;
  border: 1px solid #c4d5e7;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}
.hub-left-flyout-index:hover,
.hub-left-flyout-index:focus-visible {
  background: #e3effb;
  border-color: #a9bfdc;
}
@media (max-width: 44em), (hover: none), (pointer: coarse) {
  .hub-left-flyout-layer {
    display: none !important;
  }
  .hub-nav-link[data-has-flyout="1"] .hub-nav-ico::after {
    display: none;
  }
}
.hub-nav-link:hover,
.hub-toc-link:hover,
.hub-catalog-link:hover {
  background: #deecfb;
  border-color: #a8bfdc;
}
.hub-nav-link.is-current,
.hub-toc-link.is-current {
  background: #d5e7fa;
  border-color: #8dacd3;
  color: #315d95;
}
.hub-nav-link-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hub-nav-ico {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #315d95;
  background: #d5e7fa;
  border: 1px solid #aac0da;
  flex: 0 0 28px;
}
.hub-nav-text {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.hub-nav-text-main {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.hub-nav-text-sub {
  display: block;
  font-size: 11px;
  color: #576d87;
  line-height: 1.35;
}
.hub-catalog-link {
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.5;
}
.hub-center {
  min-width: 0;
}
.hub-viewer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #d0dceb;
}
.hub-viewer-title-wrap { min-width: 0; }
.hub-viewer-title {
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: #18334f;
}
.hub-viewer-sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: #526882;
}
.hub-viewer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.hub-ghost-btn {
  padding: 9px 13px;
  min-height: 36px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.hub-section-neighbor-strip {
  padding: 12px 18px 0;
}
.hub-section-neighbor-strip--top {
  border-bottom: 1px solid #dfe8f3;
  padding-bottom: 12px;
}
.hub-section-neighbor-strip--bottom {
  padding: 4px 18px 18px;
}
.hub-section-neighbor-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #d7e3f0;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f2f7fd 100%);
  box-shadow: 0 8px 18px rgba(20,41,68,.05);
}
.hub-section-neighbor-copy {
  min-width: 0;
}
.hub-section-neighbor-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  color: #6c82a0;
}
.hub-section-neighbor-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
  min-width: 0;
  flex-wrap: wrap;
}
.hub-section-neighbor-title {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  color: #18334f;
}
.hub-section-neighbor-count {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #cad9ea;
  background: #eef5fd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #58718f;
}
.hub-section-neighbor-sub {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.65;
  color: #5f738c;
}
.hub-section-neighbor-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(168px, 1fr));
  gap: 10px;
  align-items: stretch;
}
.hub-section-neighbor-link,
.hub-section-neighbor-index {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  min-width: 0;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #cfdbeb;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 5px 12px rgba(16,35,59,.04);
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.hub-section-neighbor-link:hover,
.hub-section-neighbor-index:hover {
  transform: translateY(-1px);
  border-color: #9eb7d4;
  background: #f6fbff;
  box-shadow: 0 8px 18px rgba(16,35,59,.08);
}
.hub-section-neighbor-link:focus-visible,
.hub-section-neighbor-index:focus-visible {
  outline: 2px solid rgba(75, 126, 213, .45);
  outline-offset: 2px;
}
.hub-section-neighbor-link-kicker,
.hub-section-neighbor-index-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  color: #6b83a1;
}
.hub-section-neighbor-link-main,
.hub-section-neighbor-index-main {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
  color: #1b3551;
}
.hub-section-neighbor-link.is-disabled,
.hub-section-neighbor-index.is-current {
  border-style: dashed;
  background: #f7f9fc;
  color: #7c8ea4;
  box-shadow: none;
}
.hub-section-neighbor-link.is-disabled .hub-section-neighbor-link-main,
.hub-section-neighbor-link.is-disabled .hub-section-neighbor-link-kicker,
.hub-section-neighbor-index.is-current .hub-section-neighbor-index-main,
.hub-section-neighbor-index.is-current .hub-section-neighbor-index-kicker {
  color: #7c8ea4;
}
.hub-viewer-stage {
  position: relative;
  min-width: 0;
  padding: 0 18px 0;
}
.hub-viewer-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px 10px;
}
.hub-viewer-stage-dots {
  display: inline-flex;
  gap: 6px;
}
.hub-viewer-stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c8dcf1;
}
.hub-viewer-stage-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px 0 20px;
  border-radius: 999px;
  background: #edf5fe;
  border: 1px solid #bfd0e2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #556a84;
}
.hub-viewer-stage-pill::before {
  content: "";
  position: absolute;
  left: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #5f87c9;
}
.hub-viewer-home-hero {
  position: relative;
  margin: 0 4px 14px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #c7d8ee;
  background: linear-gradient(180deg, #c4dcf5 0%, #afcdef 100%);
  box-shadow: 0 7px 16px rgba(12,26,50,.06);
}
.hub-viewer-home-hero img {
  display: block;
  width: 100%;
  height: clamp(180px, 22vw, 320px);
  object-fit: cover;
  object-position: center 50%;
}
.hub-viewer-home-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(10,19,34,.52);
  color: rgba(248,251,255,.95);
  box-shadow: 0 5px 12px rgba(9,17,31,.11);
  backdrop-filter: none;
}
.hub-viewer-home-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  color: rgba(221,237,255,.92);
}
.hub-viewer-home-title {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}
.hub-viewer-home-sub {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(235,244,255,.88);
}
.hub-page-article {
  min-width: 0;
  padding: 0 4px 18px;
}
.hub-page-article > *:first-child {
  margin-top: 0 !important;
}
.hub-bottom-actions {
  display: flex;
  justify-content: center;
  padding: 0 20px 18px;
}
.hub-right {
  z-index: 34;
}
.hub-right-dock {
  position: relative;
  width: var(--hub-right-slot-width);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.hub-right-hover-area {
  position: relative;
  width: var(--hub-right-slot-width);
  padding-left: 0;
  box-sizing: border-box;
  margin-left: auto;
}
.hub-right-slim-rail {
  position: relative;
  z-index: 3;
  width: var(--hub-right-rail-width);
  margin-left: auto;
  padding: 8px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-radius: 22px;
  background: rgba(246,249,255,.97);
  border: 1px solid #c9daef;
  box-shadow: 0 6px 14px rgba(12,26,50,.05);
}
/* Classification metadata is redundant with the left/center location labels. */
#hubRightRailPageChip { display: none; }
.hub-right[data-toc-count="0"] .hub-right-hover-area { display: none; }
.hub-right-chip--toc {
  width: 100%;
  color: #526882;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}
.hub-right-quicktop-slot {
  width: var(--hub-right-slot-width);
  padding-left: 0;
  box-sizing: border-box;
  margin-left: auto;
}
.hub-right-quicktop {
  width: 100%;
  margin-top: 0;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: 18px;
  border: 1px solid #a8bfdc;
  background: linear-gradient(180deg, #e2effd 0%, #d2e5fb 100%);
  color: #315d95;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.hub-right-quicktop:hover {
  background: linear-gradient(180deg, #f0f6ff 0%, #dbeafa 100%);
  border-color: #8dacd3;
}
.hub-right-quicktop:active {
  transform: scale(.98);
}
.hub-right-quicktop:focus-visible {
  outline: 2px solid #8dacd3;
  outline-offset: 2px;
}
.hub-right-quicktop-arrow {
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}
.hub-right-quicktop-text {
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}
.hub-right-record-slot {
  position: relative;
  width: var(--hub-right-slot-width);
}
.hub-right-record-slot.is-open::before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  width: var(--hub-right-popout-gap);
  height: 100%;
}
.hub-right-record-toggle {
  min-height: 44px;
  font-size: .625rem;
  font-weight: 800;
}
.hub-right-record-panel {
  position: absolute;
  top: 0;
  right: calc(100% + var(--hub-right-popout-gap));
  z-index: 4;
  width: var(--hub-right-popout-width);
  max-height: max(4rem, calc(100dvh - 9rem));
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: 12px 14px;
  border: 1px solid #c9daef;
  border-radius: 18px;
  background: #f7fbff;
  box-shadow: 0 9px 20px rgba(12,26,50,.08);
}
.hub-reading-record-actions {
  display: grid;
  gap: 8px;
  color: #284863;
  font-size: .875rem;
  overflow-wrap: anywhere;
}
.hub-reading-record-actions :is(p, [role="status"]) {
  margin: 0;
}
.hub-reading-record-actions button {
  min-height: 44px;
}
.hub-right-quicktop--standalone {
  position: relative;
  z-index: 3;
}
.hub-right-quicktop--standalone:hover,
.hub-right-quicktop--standalone:focus-visible {
  z-index: 5;
}
.hub-right-popout {
  position: absolute;
  top: 0;
  right: calc(var(--hub-right-rail-width) + var(--hub-right-popout-gap));
  width: var(--hub-right-popout-width);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(6px);
  transform-origin: top right;
  transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s;
  z-index: 4;
}
/* Keep the existing hover passage across the popout gap without reserving
   extra visible space between the right rail and the center. The passage
   inherits the popout's hidden/noninteractive state when the menu is closed. */
.hub-right-popout::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: var(--hub-right-popout-gap);
  height: 100%;
}
.hub-right-popout-scroll {
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: hidden;
  padding: 12px 14px 12px 12px;
  border-radius: 22px;
  background: rgba(246,249,255,.97);
  border: 1px solid #c9daef;
  box-shadow: 0 9px 20px rgba(12,26,50,.06);
}
.hub-right-panel,
.hub-page-state {
  padding: 0;
}
/* Right controls must not inherit compact left-rail heading/padding rules. */
#hubRightRail .hub-meta {
  min-width: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}
#hubRightRail .hub-right-page-summary {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #d1dbe8;
}
#hubRightRail .hub-section-title {
  display: block;
  visibility: inherit;
  opacity: 1;
  max-height: none;
  overflow: visible;
  pointer-events: inherit;
  margin-bottom: 8px;
}
#hubRightRail .hub-page-state-kicker,
#hubRightRail .hub-page-state-copy { display: none; }
#hubRightRail .hub-page-state-title {
  margin: 0;
  overflow-wrap: anywhere;
}
.hub-toc-list {
  margin-top: 10px;
}
.hub-toc-link {
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.45;
}
.hub-page-state-title {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  color: #18334f;
}
.hub-page-state-copy {
  margin-top: 6px;
}
.hub-rail-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12,26,50,.13);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .14s ease, visibility 0s linear .14s;
  z-index: 24;
}
.hub-right.is-hover-open .hub-right-popout,
.hub-right.is-pinned .hub-right-popout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
.hub-right.is-hover-open .hub-right-popout-scroll,
.hub-right.is-pinned .hub-right-popout-scroll {
  overflow-y: auto;
}

@media (max-height: 760px) {
  :root {
    --hub-left-brand-fixed-height: 118px;
    --hub-left-nav-link-height: 48px;
  }
  .hub-left-dock {
    gap: 10px;
  }
  .hub-left .hub-brand,
  .hub-left .hub-nav {
    border-radius: 20px;
  }
  .hub-left .hub-brand,
  .hub-left .hub-nav {
    padding: 14px;
  }
  .hub-left .hub-brand-head {
    margin-bottom: 8px;
  }
}
@media (max-height: 680px) {
  :root {
    --hub-left-brand-fixed-height: 112px;
    --hub-left-nav-link-height: 44px;
  }
  .hub-left-dock {
    gap: 8px;
  }
  .hub-left .hub-brand,
  .hub-left .hub-nav {
    padding: 12px;
  }
}

@media (max-width: 95em) {
  .hub-shell {
    width: min(calc(100% - 24px), var(--hub-stage-max-width));
    grid-template-columns: var(--hub-left-compact-width) minmax(0, 1fr) var(--hub-right-slot-width);
    gap: var(--hub-stage-gap-compact);
  }
  .hub-left {
    width: var(--hub-left-compact-width);
    min-width: var(--hub-left-compact-width);
    max-width: var(--hub-left-compact-width);
    overflow: visible;
    z-index: 31;
  }
  .hub-left-dock {
    position: relative;
    width: var(--hub-left-compact-width);
  }
  .hub-brand,
  .hub-nav,
  .hub-meta {
    width: 100%;
    padding: 12px;
    min-width: var(--hub-left-compact-width);
  }
  .hub-brand {
    height: var(--hub-left-brand-fixed-height);
  }
  .hub-brand-home {
    min-height: 0;
  }
  .hub-brand-copy-wrap,
  .hub-nav-text,
  .hub-meta p,
  .hub-catalog-link {
    display: none;
  }
  .hub-nav .hub-section-title {
    display: block;
    visibility: hidden;
  }
  .hub-brand-row,
  .hub-nav-link-main {
    justify-content: center;
  }
  .hub-nav-link {
    min-height: var(--hub-left-nav-link-height);
    display: flex;
    align-items: center;
  }
  .hub-left .hub-nav-list {
    gap: 6px;
  }
  .hub-nav-link-main {
    width: 100%;
    min-height: calc(var(--hub-left-nav-link-height) - 20px);
  }
  .hub-brand-mark {
    width: 52px;
    height: 52px;
  }
  .hub-nav-link {
    padding: 10px 8px;
  }
  .hub-center {
    grid-column: 2;
  }
  body.hub-left-open .hub-left {
    z-index: 32;
    width: var(--hub-left-open-width);
    min-width: var(--hub-left-open-width);
    max-width: var(--hub-left-open-width);
  }
  body.hub-left-open .hub-left-dock {
    width: var(--hub-left-open-width);
  }
  body.hub-left-open .hub-brand,
  body.hub-left-open .hub-nav,
  body.hub-left-open .hub-meta {
    min-width: var(--hub-left-open-width);
    padding: 12px 16px;
  }
  body.hub-left-open .hub-brand {
    height: var(--hub-left-brand-fixed-height);
  }
  body.hub-left-open .hub-brand-copy-wrap,
  body.hub-left-open .hub-nav-text,
  body.hub-left-open .hub-meta p,
  body.hub-left-open .hub-catalog-link {
    display: block;
  }
  body.hub-left-open .hub-nav .hub-section-title {
    display: block;
    visibility: visible;
  }
  body.hub-left-open .hub-brand-row,
  body.hub-left-open .hub-nav-link-main {
    justify-content: flex-start;
  }
  body.hub-left-open .hub-nav-link {
    padding: 10px 12px;
  }
  html.hub-left-open-preseed body .hub-left {
    z-index: 32;
    width: var(--hub-left-open-width);
    min-width: var(--hub-left-open-width);
    max-width: var(--hub-left-open-width);
  }
  html.hub-left-open-preseed body .hub-left-dock {
    width: var(--hub-left-open-width);
  }
  html.hub-left-open-preseed body .hub-brand,
  html.hub-left-open-preseed body .hub-nav,
  html.hub-left-open-preseed body .hub-meta {
    min-width: var(--hub-left-open-width);
    padding: 12px 16px;
  }
  html.hub-left-open-preseed body .hub-brand {
    height: var(--hub-left-brand-fixed-height);
  }
  html.hub-left-open-preseed body .hub-brand-copy-wrap,
  html.hub-left-open-preseed body .hub-nav-text,
  html.hub-left-open-preseed body .hub-meta p,
  html.hub-left-open-preseed body .hub-catalog-link,
  html.hub-left-open-preseed body .hub-meta-copy-wrap {
    display: block;
    max-width: 216px;
    max-height: 160px;
    opacity: 1;
    pointer-events: auto;
  }
  html.hub-left-open-preseed body .hub-nav .hub-section-title,
  html.hub-left-open-preseed body .hub-meta .hub-section-title {
    display: block;
    visibility: visible;
    opacity: 1;
    max-height: 24px;
    margin: 0 0 10px;
    pointer-events: auto;
  }
  html.hub-left-open-preseed body .hub-brand-row,
  html.hub-left-open-preseed body .hub-nav-link-main {
    justify-content: flex-start;
  }
  html.hub-left-open-preseed body .hub-nav-link {
    padding: 10px 12px;
  }
}
@media (max-width: 95em) and (hover: hover) and (pointer: fine) {
  .hub-left:hover,
  body.hub-keyboard-nav .hub-left:focus-within,
  .hub-left-dock:hover,
  body.hub-keyboard-nav .hub-left-dock:focus-within {
    z-index: 32;
    width: var(--hub-left-open-width);
    min-width: var(--hub-left-open-width);
    max-width: var(--hub-left-open-width);
  }
  .hub-left:hover .hub-left-dock,
  body.hub-keyboard-nav .hub-left:focus-within .hub-left-dock,
  .hub-left-dock:hover,
  body.hub-keyboard-nav .hub-left-dock:focus-within {
    width: var(--hub-left-open-width);
  }
  .hub-left:hover .hub-brand,
  .hub-left:hover .hub-nav,
  .hub-left:hover .hub-meta,
  body.hub-keyboard-nav .hub-left:focus-within .hub-brand,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav,
  body.hub-keyboard-nav .hub-left:focus-within .hub-meta,
  .hub-left-dock:hover .hub-brand,
  .hub-left-dock:hover .hub-nav,
  .hub-left-dock:hover .hub-meta,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-meta {
    min-width: var(--hub-left-open-width);
    padding: 16px;
  }
  .hub-left:hover .hub-brand,
  body.hub-keyboard-nav .hub-left:focus-within .hub-brand,
  .hub-left-dock:hover .hub-brand,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand {
    height: var(--hub-left-brand-fixed-height);
  }
  .hub-left:hover .hub-brand-copy-wrap,
  .hub-left:hover .hub-nav-text,
  .hub-left:hover .hub-meta p,
  .hub-left:hover .hub-catalog-link,
  body.hub-keyboard-nav .hub-left:focus-within .hub-brand-copy-wrap,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav-text,
  body.hub-keyboard-nav .hub-left:focus-within .hub-meta p,
  body.hub-keyboard-nav .hub-left:focus-within .hub-catalog-link,
  .hub-left-dock:hover .hub-brand-copy-wrap,
  .hub-left-dock:hover .hub-nav-text,
  .hub-left-dock:hover .hub-meta p,
  .hub-left-dock:hover .hub-catalog-link,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand-copy-wrap,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-text,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-meta p,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-catalog-link {
    display: block;
  }
  .hub-left:hover .hub-nav .hub-section-title,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav .hub-section-title,
  .hub-left-dock:hover .hub-nav .hub-section-title,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav .hub-section-title {
    display: block;
    visibility: visible;
  }
  .hub-left:hover .hub-brand-row,
  .hub-left:hover .hub-nav-link-main,
  body.hub-keyboard-nav .hub-left:focus-within .hub-brand-row,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav-link-main,
  .hub-left-dock:hover .hub-brand-row,
  .hub-left-dock:hover .hub-nav-link-main,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand-row,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-link-main {
    justify-content: flex-start;
  }
  .hub-left:hover .hub-nav-link,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav-link,
  .hub-left-dock:hover .hub-nav-link,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-link {
    padding: 10px 12px;
  }
}
@media (max-width: 95em) and (hover: hover) and (pointer: fine) {
  body.hub-left-autoopen-suppressed .hub-left,
  body.hub-left-autoopen-suppressed .hub-left:hover,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within {
    z-index: 31;
    width: var(--hub-left-compact-width);
    min-width: var(--hub-left-compact-width);
    max-width: var(--hub-left-compact-width);
  }
  body.hub-left-autoopen-suppressed .hub-left-dock,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-left-dock,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-left-dock,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within {
    width: var(--hub-left-compact-width);
  }
  body.hub-left-autoopen-suppressed .hub-brand,
  body.hub-left-autoopen-suppressed .hub-nav,
  body.hub-left-autoopen-suppressed .hub-meta,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-brand,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-meta,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-brand,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-meta,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-brand,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-meta,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-meta {
    min-width: var(--hub-left-compact-width);
    padding: 12px;
  }
  body.hub-left-autoopen-suppressed .hub-brand,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-brand,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-brand,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-brand,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand {
    height: var(--hub-left-brand-fixed-height);
  }
  body.hub-left-autoopen-suppressed .hub-brand-copy-wrap,
  body.hub-left-autoopen-suppressed .hub-nav-text,
  body.hub-left-autoopen-suppressed .hub-meta p,
  body.hub-left-autoopen-suppressed .hub-catalog-link,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-brand-copy-wrap,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav-text,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-meta p,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-catalog-link,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-brand-copy-wrap,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav-text,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-meta p,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-catalog-link,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-brand-copy-wrap,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav-text,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-meta p,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-catalog-link,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand-copy-wrap,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-text,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-meta p,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-catalog-link {
    display: none;
  }
  body.hub-left-autoopen-suppressed .hub-nav .hub-section-title,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav .hub-section-title,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav .hub-section-title,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav .hub-section-title,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav .hub-section-title {
    display: block;
    visibility: hidden;
  }
  body.hub-left-autoopen-suppressed .hub-brand-row,
  body.hub-left-autoopen-suppressed .hub-nav-link-main,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-brand-row,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav-link-main,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-brand-row,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav-link-main,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-brand-row,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav-link-main,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand-row,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-link-main {
    justify-content: center;
  }
  body.hub-left-autoopen-suppressed .hub-nav-link,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav-link,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav-link,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav-link,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-link {
    padding: 10px 8px;
  }
}

@media (max-width: 60em) {
  .hub-viewer-top {
    flex-direction: column;
  }
  .hub-viewer-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 44em) {
  :root {
  --hub-font-sans: "Noto Sans JP Variable", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
    --hub-rail-float-top: 8px;
  }
  .hub-shell {
    width: min(calc(100% - 16px), var(--hub-stage-max-width));
    gap: 12px;
    margin: 8px auto 18px;
    grid-template-columns: var(--hub-left-compact-width) minmax(0, 1fr);
  }
  .hub-left {
    display: block;
    position: sticky;
    top: 8px;
    grid-column: 1;
    width: var(--hub-left-compact-width);
    min-width: var(--hub-left-compact-width);
    max-width: var(--hub-left-compact-width);
    overflow: visible;
    z-index: 31;
  }
  .hub-left-dock {
    position: relative;
    width: var(--hub-left-compact-width);
  }
  .hub-right {
    display: none;
  }
  .hub-center {
    grid-column: 2;
  }
  .hub-brand-head {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }
  .hub-brand,
  .hub-nav,
  .hub-meta {
    width: 100%;
    min-width: var(--hub-left-compact-width);
    padding: 12px;
  }
  .hub-brand {
    height: var(--hub-left-brand-fixed-height);
  }
  .hub-brand-home {
    min-height: 0;
  }
  .hub-brand-copy-wrap,
  .hub-nav-text,
  .hub-meta p,
  .hub-catalog-link {
    display: none;
  }
  .hub-nav .hub-section-title {
    display: block;
    visibility: hidden;
  }
  .hub-brand-row,
  .hub-nav-link-main {
    justify-content: center;
  }
  .hub-nav-link {
    min-height: var(--hub-left-nav-link-height);
    display: flex;
    align-items: center;
  }
  .hub-left .hub-nav-list {
    gap: 6px;
  }
  .hub-nav-link-main {
    width: 100%;
    min-height: calc(var(--hub-left-nav-link-height) - 20px);
  }
  .hub-brand-mark {
    width: 48px;
    height: 48px;
  }
  .hub-nav-link {
    padding: 10px 8px;
  }
  .hub-viewer-top { padding: 16px 16px 12px; }
  .hub-viewer-stage { padding: 0 12px 0; }
  .hub-bottom-actions { padding: 0 16px 16px; }
  .hub-viewer-title { font-size: 22px; }
  .hub-ghost-btn { width: 100%; justify-content: center; }
  .hub-viewer-actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-right-popout,
  .hub-rail-backdrop,
  .hub-rail-toggle,
  .hub-right-toggle,
  .hub-right-quicktop,
  .hub-ghost-btn {
    transition: none !important;
  }
}


@media (max-width: 95em) {
  .hub-brand,
  .hub-nav,
  .hub-meta {
    padding: 12px 16px;
  }
  .hub-nav-link {
    height: var(--hub-left-nav-link-height);
  }
  .hub-nav-link-main {
    min-height: 0;
  }
  .hub-nav-text {
    gap: 1px;
  }
  .hub-nav-text-main {
    line-height: 1.25;
  }
  .hub-nav-text-sub {
    line-height: 1.2;
  }
  .hub-brand-row,
  .hub-nav-link-main {
    justify-content: flex-start;
  }
  .hub-nav-link {
    padding: 10px 12px;
  }
  .hub-brand-copy-wrap,
  .hub-nav-text,
  .hub-meta-copy-wrap {
    display: block;
    min-width: 0;
    max-width: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .hub-brand-copy-wrap {
    flex: 1 1 auto;
  }
  .hub-brand-kicker,
  .hub-brand-title,
  .hub-brand-copy,
  .hub-nav-text-main,
  .hub-nav-text-sub,
  .hub-meta-copy-wrap p,
  .hub-meta-copy-wrap .hub-catalog-link {
    white-space: nowrap;
  }
  .hub-nav .hub-section-title,
  .hub-meta .hub-section-title {
    display: block;
    visibility: visible;
    opacity: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .hub-meta-copy-wrap p {
    margin: 0;
  }
}
@media (max-width: 95em) {
  body.hub-left-open .hub-brand-copy-wrap,
  body.hub-left-open .hub-nav-text,
  body.hub-left-open .hub-meta-copy-wrap {
    max-width: 216px;
    max-height: 160px;
    opacity: 1;
    pointer-events: auto;
  }
  body.hub-left-open .hub-nav .hub-section-title,
  body.hub-left-open .hub-meta .hub-section-title {
    opacity: 1;
    max-height: 24px;
    margin: 0 0 10px;
    pointer-events: auto;
  }
  body.hub-left-open .hub-brand-copy,
  body.hub-left-open .hub-meta-copy-wrap p {
    white-space: normal;
  }
}
@media (max-width: 95em) and (hover: hover) and (pointer: fine) {
  .hub-left:hover .hub-brand,
  .hub-left:hover .hub-nav,
  .hub-left:hover .hub-meta,
  body.hub-keyboard-nav .hub-left:focus-within .hub-brand,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav,
  body.hub-keyboard-nav .hub-left:focus-within .hub-meta,
  .hub-left-dock:hover .hub-brand,
  .hub-left-dock:hover .hub-nav,
  .hub-left-dock:hover .hub-meta,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-meta {
    padding: 12px 16px;
  }
  .hub-left:hover .hub-brand-row,
  .hub-left:hover .hub-nav-link-main,
  body.hub-keyboard-nav .hub-left:focus-within .hub-brand-row,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav-link-main,
  .hub-left-dock:hover .hub-brand-row,
  .hub-left-dock:hover .hub-nav-link-main,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand-row,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-link-main {
    justify-content: flex-start;
  }
  .hub-left:hover .hub-nav-link,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav-link,
  .hub-left-dock:hover .hub-nav-link,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-link {
    padding: 10px 12px;
  }
  .hub-left:hover .hub-brand-copy-wrap,
  .hub-left:hover .hub-nav-text,
  .hub-left:hover .hub-meta-copy-wrap,
  body.hub-keyboard-nav .hub-left:focus-within .hub-brand-copy-wrap,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav-text,
  body.hub-keyboard-nav .hub-left:focus-within .hub-meta-copy-wrap,
  .hub-left-dock:hover .hub-brand-copy-wrap,
  .hub-left-dock:hover .hub-nav-text,
  .hub-left-dock:hover .hub-meta-copy-wrap,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand-copy-wrap,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-text,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-meta-copy-wrap {
    display: block;
    max-width: 216px;
    max-height: 160px;
    opacity: 1;
    pointer-events: auto;
  }
  .hub-left:hover .hub-nav .hub-section-title,
  .hub-left:hover .hub-meta .hub-section-title,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav .hub-section-title,
  body.hub-keyboard-nav .hub-left:focus-within .hub-meta .hub-section-title,
  .hub-left-dock:hover .hub-nav .hub-section-title,
  .hub-left-dock:hover .hub-meta .hub-section-title,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav .hub-section-title,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-meta .hub-section-title {
    display: block;
    visibility: visible;
    opacity: 1;
    max-height: 24px;
    margin: 0 0 10px;
    pointer-events: auto;
  }
  .hub-left:hover .hub-brand-copy,
  .hub-left:hover .hub-meta-copy-wrap p,
  body.hub-keyboard-nav .hub-left:focus-within .hub-brand-copy,
  body.hub-keyboard-nav .hub-left:focus-within .hub-meta-copy-wrap p,
  .hub-left-dock:hover .hub-brand-copy,
  .hub-left-dock:hover .hub-meta-copy-wrap p,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand-copy,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-meta-copy-wrap p {
    white-space: normal;
  }
}
@media (max-width: 95em) and (hover: hover) and (pointer: fine) {
  body.hub-left-autoopen-suppressed .hub-brand,
  body.hub-left-autoopen-suppressed .hub-nav,
  body.hub-left-autoopen-suppressed .hub-meta,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-brand,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-meta,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-brand,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-meta,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-brand,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-meta,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-meta {
    padding: 12px 16px;
  }
  body.hub-left-autoopen-suppressed .hub-brand-row,
  body.hub-left-autoopen-suppressed .hub-nav-link-main,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-brand-row,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav-link-main,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-brand-row,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav-link-main,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-brand-row,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav-link-main,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand-row,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-link-main {
    justify-content: flex-start;
  }
  body.hub-left-autoopen-suppressed .hub-nav-link,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav-link,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav-link,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav-link,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-link {
    padding: 10px 12px;
  }
  body.hub-left-autoopen-suppressed .hub-brand-copy-wrap,
  body.hub-left-autoopen-suppressed .hub-nav-text,
  body.hub-left-autoopen-suppressed .hub-meta-copy-wrap,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-brand-copy-wrap,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav-text,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-meta-copy-wrap,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-brand-copy-wrap,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav-text,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-meta-copy-wrap,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-brand-copy-wrap,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav-text,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-meta-copy-wrap,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-brand-copy-wrap,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-text,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-meta-copy-wrap {
    display: block;
    max-width: 0;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
  }
  body.hub-left-autoopen-suppressed .hub-nav .hub-section-title,
  body.hub-left-autoopen-suppressed .hub-meta .hub-section-title,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav .hub-section-title,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-meta .hub-section-title,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav .hub-section-title,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-meta .hub-section-title,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav .hub-section-title,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-meta .hub-section-title,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav .hub-section-title,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-meta .hub-section-title {
    display: block;
    visibility: visible;
    opacity: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
  }
}



/* html_v08_03 — compact nav title placeholder to keep left-link Y stable */
.hub-nav-section-title {
  display: flex;
  align-items: center;
  min-height: 24px;
}
.hub-nav-section-title .hub-section-title-compact,
.hub-nav-section-title .hub-section-title-full {
  display: block;
}
@media (max-width: 95em) {
  .hub-nav-section-title {
    display: flex !important;
    align-items: center;
    min-height: 24px;
    margin: 0 0 10px !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    pointer-events: none;
  }
  .hub-nav-section-title .hub-section-title-compact { display: block; }
  .hub-nav-section-title .hub-section-title-full { display: none; }
}
@media (max-width: 95em) {
  body.hub-left-open .hub-nav-section-title .hub-section-title-compact { display: none; }
  body.hub-left-open .hub-nav-section-title .hub-section-title-full { display: block; }
}
@media (max-width: 95em) and (hover: hover) and (pointer: fine) {
  .hub-left:hover .hub-nav-section-title,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav-section-title,
  .hub-left-dock:hover .hub-nav-section-title,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-section-title,
  body.hub-left-autoopen-suppressed .hub-nav-section-title,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav-section-title,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav-section-title,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav-section-title,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-section-title {
    display: flex !important;
    align-items: center;
    min-height: 24px;
    margin: 0 0 10px !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    pointer-events: none;
  }
  .hub-left:hover .hub-nav-section-title .hub-section-title-compact,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav-section-title .hub-section-title-compact,
  .hub-left-dock:hover .hub-nav-section-title .hub-section-title-compact,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-section-title .hub-section-title-compact {
    display: none;
  }
  .hub-left:hover .hub-nav-section-title .hub-section-title-full,
  body.hub-keyboard-nav .hub-left:focus-within .hub-nav-section-title .hub-section-title-full,
  .hub-left-dock:hover .hub-nav-section-title .hub-section-title-full,
  body.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-section-title .hub-section-title-full {
    display: block;
  }
  body.hub-left-autoopen-suppressed .hub-nav-section-title .hub-section-title-compact,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav-section-title .hub-section-title-compact,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav-section-title .hub-section-title-compact,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav-section-title .hub-section-title-compact,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-section-title .hub-section-title-compact {
    display: block;
  }
  body.hub-left-autoopen-suppressed .hub-nav-section-title .hub-section-title-full,
  body.hub-left-autoopen-suppressed .hub-left:hover .hub-nav-section-title .hub-section-title-full,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-nav-section-title .hub-section-title-full,
  body.hub-left-autoopen-suppressed .hub-left-dock:hover .hub-nav-section-title .hub-section-title-full,
  body.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within .hub-nav-section-title .hub-section-title-full {
    display: none;
  }
}


.hub-softnav-overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 28px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.hub-softnav-overlay::before,
.hub-softnav-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hub-softnav-overlay::before {
  background:
    radial-gradient(140% 118% at 50% -8%, rgba(112,231,255,.12) 0%, rgba(112,231,255,.06) 18%, rgba(112,231,255,0) 46%),
    radial-gradient(160% 140% at 50% 50%, rgba(7,22,44,0) 34%, rgba(4,12,27,.28) 66%, rgba(2,8,20,.58) 100%),
    linear-gradient(180deg, rgba(5,13,28,.22) 0%, rgba(3,8,18,.40) 100%);
}
.hub-softnav-overlay::after {
  inset: 12px;
  border-radius: 24px;
  border: 1px solid rgba(132,198,255,.18);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    inset 0 0 32px rgba(86,194,255,.04),
    0 0 42px rgba(31,116,182,.10);
  background:
    linear-gradient(rgba(123,198,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,198,255,.06) 1px, transparent 1px),
    radial-gradient(68% 60% at 50% 0%, rgba(102,215,255,.10) 0%, rgba(102,215,255,0) 72%);
  background-size: 24px 24px, 24px 24px, auto;
  opacity: .72;
}
.hub-softnav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.hub-softnav-overlay-card {
  position: relative;
  width: min(100%, 620px);
  min-height: 224px;
  padding: 26px 30px 28px;
  border-radius: 26px;
  overflow: hidden;
  color: #def4ff;
  border: 1px solid rgba(123,198,255,.34);
  background:
    radial-gradient(124% 96% at 50% -10%, rgba(102,225,255,.20) 0%, rgba(102,225,255,.07) 24%, rgba(102,225,255,0) 60%),
    linear-gradient(180deg, rgba(6,18,38,.94) 0%, rgba(5,12,28,.97) 100%);
  box-shadow:
    0 28px 64px rgba(1,8,20,.52),
    0 0 0 1px rgba(116,211,255,.05),
    0 0 34px rgba(76,193,255,.14),
    0 0 88px rgba(51,150,255,.10),
    inset 0 0 0 1px rgba(255,255,255,.03),
    inset 0 18px 30px rgba(116,211,255,.07);
}
.hub-softnav-overlay-card::before,
.hub-softnav-overlay-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  pointer-events: none;
}
.hub-softnav-overlay-card::before {
  border: 1px solid rgba(118,196,255,.18);
  box-shadow:
    inset 0 0 24px rgba(116,211,255,.05),
    0 0 26px rgba(91,208,255,.08);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  padding: 10px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.hub-softnav-overlay-card::after {
  inset: auto -14% 18px auto;
  width: 54%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(83,189,255,0) 0%, rgba(83,189,255,.10) 22%, rgba(136,239,255,.95) 54%, rgba(83,189,255,.10) 78%, rgba(83,189,255,0) 100%);
  box-shadow: 0 0 18px rgba(122,233,255,.42);
  animation: hubSoftnavSweep 2.3s linear infinite;
}
.hub-softnav-overlay-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .24em;
  color: #9fe2ff;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(83,197,255,.20);
}
.hub-softnav-overlay-kicker::before,
.hub-softnav-overlay-kicker::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(146,217,255,0), rgba(146,217,255,.92));
}
.hub-softnav-overlay-kicker::after {
  background: linear-gradient(90deg, rgba(146,217,255,.92), rgba(146,217,255,0));
}
.hub-softnav-overlay-title {
  margin-top: 14px;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: .01em;
  color: #f3fbff;
  text-wrap: balance;
  text-shadow: 0 0 18px rgba(93,200,255,.18), 0 0 42px rgba(64,174,255,.10);
}
.hub-softnav-overlay-copy {
  margin-top: 12px;
  max-width: 34rem;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(213,236,255,.86);
}
.hub-softnav-overlay-meter {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(118,196,255,.18);
  background: rgba(4,14,30,.58);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.02),
    inset 0 0 18px rgba(116,211,255,.05),
    0 0 20px rgba(59,161,255,.08);
}
.hub-softnav-overlay-meter::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(72,186,255,0) 0%, rgba(72,186,255,.08) 35%, rgba(150,239,255,.22) 50%, rgba(72,186,255,.08) 65%, rgba(72,186,255,0) 100%);
  transform: translateX(-60%);
  animation: hubSoftnavMeter 1.9s ease-in-out infinite;
}
.hub-softnav-overlay-dots {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hub-softnav-overlay-dots > span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #86dcff;
  box-shadow: 0 0 0 0 rgba(134,220,255,.0), 0 0 14px rgba(134,220,255,.42), 0 0 28px rgba(88,188,255,.14);
  animation: hubSoftnavPulse 1.1s ease-in-out infinite;
}
.hub-softnav-overlay-dots > span:nth-child(2) { animation-delay: .16s; }
.hub-softnav-overlay-dots > span:nth-child(3) { animation-delay: .32s; }
.hub-softnav-overlay-meter-label {
  position: relative;
  z-index: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a8e6ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hub-softnav-overlay[data-mode="route"] .hub-softnav-overlay-card {
  width: min(100%, 560px);
  min-height: 198px;
}
.hub-softnav-overlay[data-mode="route"] .hub-softnav-overlay-title {
  font-size: clamp(24px, 3.2vw, 31px);
}
.hub-softnav-overlay[data-mode="route"] .hub-softnav-overlay-copy {
  max-width: 30rem;
}
@keyframes hubSoftnavPulse {
  0%, 100% { transform: scale(.84); opacity: .66; }
  48% { transform: scale(1.14); opacity: 1; box-shadow: 0 0 0 6px rgba(134,220,255,.08), 0 0 18px rgba(134,220,255,.48); }
}
@keyframes hubSoftnavMeter {
  0% { transform: translateX(-56%); opacity: .66; }
  50% { transform: translateX(6%); opacity: 1; }
  100% { transform: translateX(56%); opacity: .66; }
}
@keyframes hubSoftnavSweep {
  0% { transform: translateX(-18%); opacity: .34; }
  48% { opacity: .92; }
  100% { transform: translateX(18%); opacity: .34; }
}

/* PATCH 054: compact floating left dock width must be CSS-state driven, not stale JS-measured width */
@media (max-width: 95em) {
  body.hub-float-rails-ready .hub-left-dock {
    width: var(--hub-left-compact-width);
    min-width: var(--hub-left-compact-width);
    max-width: var(--hub-left-compact-width);
  }
  body.hub-float-rails-ready.hub-left-open .hub-left-dock {
    width: var(--hub-left-open-width);
    min-width: var(--hub-left-open-width);
    max-width: var(--hub-left-open-width);
  }
  html.hub-left-open-preseed body.hub-float-rails-ready .hub-left-dock {
    width: var(--hub-left-open-width);
    min-width: var(--hub-left-open-width);
    max-width: var(--hub-left-open-width);
  }
}
@media (max-width: 95em) and (hover: hover) and (pointer: fine) {
  body.hub-float-rails-ready .hub-left:hover .hub-left-dock,
  body.hub-float-rails-ready.hub-keyboard-nav .hub-left:focus-within .hub-left-dock,
  body.hub-float-rails-ready .hub-left-dock:hover,
  body.hub-float-rails-ready.hub-keyboard-nav .hub-left-dock:focus-within {
    width: var(--hub-left-open-width);
    min-width: var(--hub-left-open-width);
    max-width: var(--hub-left-open-width);
  }
  body.hub-float-rails-ready.hub-left-autoopen-suppressed .hub-left-dock,
  body.hub-float-rails-ready.hub-left-autoopen-suppressed .hub-left:hover .hub-left-dock,
  body.hub-float-rails-ready.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left:focus-within .hub-left-dock,
  body.hub-float-rails-ready.hub-left-autoopen-suppressed .hub-left-dock:hover,
  body.hub-float-rails-ready.hub-left-autoopen-suppressed.hub-keyboard-nav .hub-left-dock:focus-within {
    width: var(--hub-left-compact-width);
    min-width: var(--hub-left-compact-width);
    max-width: var(--hub-left-compact-width);
  }
}


@media (max-width: 95em) and (hover: hover) and (pointer: fine) {
  body.hub-left-flyout-bridge-open .hub-left {
    z-index: 32;
    width: var(--hub-left-open-width);
    min-width: var(--hub-left-open-width);
    max-width: var(--hub-left-open-width);
  }
  body.hub-left-flyout-bridge-open .hub-left-dock {
    width: var(--hub-left-open-width);
  }
  body.hub-left-flyout-bridge-open .hub-brand,
  body.hub-left-flyout-bridge-open .hub-nav,
  body.hub-left-flyout-bridge-open .hub-meta {
    min-width: var(--hub-left-open-width);
    padding: 12px 16px;
  }
  body.hub-left-flyout-bridge-open .hub-brand {
    height: var(--hub-left-brand-fixed-height);
  }
  body.hub-left-flyout-bridge-open .hub-brand-copy-wrap,
  body.hub-left-flyout-bridge-open .hub-nav-text,
  body.hub-left-flyout-bridge-open .hub-meta p,
  body.hub-left-flyout-bridge-open .hub-catalog-link {
    display: block;
  }
  body.hub-left-flyout-bridge-open .hub-nav .hub-section-title {
    display: block;
    visibility: visible;
  }
  body.hub-left-flyout-bridge-open .hub-brand-row,
  body.hub-left-flyout-bridge-open .hub-nav-link-main {
    justify-content: flex-start;
  }
  body.hub-left-flyout-bridge-open .hub-nav-link {
    padding: 10px 12px;
  }
}

@media (max-width: 95em) {
  body.hub-left-flyout-bridge-open .hub-brand-copy-wrap,
  body.hub-left-flyout-bridge-open .hub-nav-text,
  body.hub-left-flyout-bridge-open .hub-meta-copy-wrap {
    display: block;
    max-width: 216px;
    max-height: 160px;
    opacity: 1;
    pointer-events: auto;
  }
  body.hub-left-flyout-bridge-open .hub-nav .hub-section-title,
  body.hub-left-flyout-bridge-open .hub-meta .hub-section-title {
    opacity: 1;
    max-height: 24px;
    margin: 0 0 10px;
    pointer-events: auto;
  }
  body.hub-left-flyout-bridge-open .hub-brand-copy,
  body.hub-left-flyout-bridge-open .hub-meta-copy-wrap p {
    white-space: normal;
  }
}


@media (max-width: 72em) {
  .hub-section-neighbor-inner {
    grid-template-columns: 1fr;
  }
  .hub-section-neighbor-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 60em) {
  .hub-section-neighbor-strip {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hub-section-neighbor-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 47.5em) {
  .hub-section-neighbor-strip--top {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .hub-section-neighbor-strip--bottom {
    padding-top: 2px;
    padding-bottom: 14px;
  }
  .hub-section-neighbor-inner {
    padding: 10px 12px;
  }
}


/* 2026-11-01: keep the current location and pin on one row in an expanded card.
   Query the card's available width so hover, keyboard, touch and pinned states
   share the same layout without a separate set of expansion rules. */
.hub-left .hub-brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 36px minmax(0, 1fr);
  grid-auto-columns: 36px;
  gap: 8px;
  align-items: center;
  height: var(--hub-left-brand-fixed-height);
  container-type: inline-size;
}
.hub-left .hub-brand-head {
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
  margin: 0;
}
.hub-left .hub-brand-home {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  align-self: center;
}
.hub-left .hub-brand-row {
  min-width: 0;
  gap: 10px;
}
.hub-left .hub-brand-mark {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}
.hub-left .hub-brand-copy-wrap {
  flex: 1 1 auto;
}
.hub-left .hub-brand-title,
.hub-left .hub-brand-home[data-current-location] .hub-brand-title {
  display: block;
  font-size: 18px;
  max-height: 1.2em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
@container (min-width: 150px) {
  .hub-left .hub-brand-head {
    grid-column: 2;
    grid-row: 1 / -1;
  }
  .hub-left .hub-brand-home {
    grid-row: 1 / -1;
  }
}
@media (max-height: 680px) {
  .hub-left .hub-brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

/* Reading layout selected by the shared shell controller. */
.hub-reading-menu,
.hub-reading-toc,
.hub-reading-category,
.hub-reading-panel,
.hub-reading-scrim,
.hub-reading-top {
  display: none;
}

html.hub-reading-drawer-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.hub-reading-narrow {
  --hub-reading-drawer-top: calc(var(--hub-reading-hash-offset, 71px) - 12px);
  overflow-x: clip;
}

body.hub-reading-narrow .hub-shell {
  display: block;
  width: 100%;
  margin: 0 auto 16px;
}

body.hub-reading-narrow .hub-left,
body.hub-reading-narrow .hub-right,
body.hub-reading-narrow .hub-left-flyout-layer,
body.hub-reading-narrow .hub-rail-backdrop,
body.hub-reading-narrow .hub-viewer-actions,
body.hub-reading-narrow .hub-viewer-title-wrap > .hub-page-state-kicker,
body.hub-reading-narrow .hub-viewer-sub,
body.hub-reading-narrow .hub-viewer-stage-bar {
  display: none;
}

body.hub-reading-narrow .hub-viewer-frame {
  overflow: visible;
  border-inline: 0;
  border-radius: 0;
  box-shadow: none;
}

body.hub-reading-narrow .hub-viewer-top {
  position: sticky;
  z-index: 32;
  inset-block-start: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: #f7fbff;
}

body.hub-reading-narrow .hub-reading-category,
body.hub-reading-narrow .hub-viewer-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.hub-reading-narrow .hub-reading-category {
  color: #526882;
  font-size: .6875rem;
  line-height: 1.35;
}

body.hub-reading-narrow .hub-viewer-title {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.35;
}

body.hub-reading-narrow :is(.hub-reading-menu, .hub-reading-toc, .hub-reading-panel-close):not([hidden]),
body.hub-reading-narrow .hub-reading-top:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding: 3px 6px;
  border: 1px solid #b8cee6;
  border-radius: 10px;
  color: #244f7b;
  background: #edf5fe;
  font: 700 .75rem/1.3 var(--hub-font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

body.hub-reading-narrow :is(.hub-reading-menu, .hub-reading-toc)[aria-expanded="true"] {
  background: #dcecff;
  border-color: #6d93bf;
}

body.hub-reading-narrow :is(.hub-reading-menu, .hub-reading-toc, .hub-reading-panel button, .hub-reading-panel a, .hub-reading-top):focus-visible {
  outline: 2px solid #315f8b;
  outline-offset: 2px;
}

body.hub-reading-narrow[data-hub-reading-panel] :is(.hub-reading-scrim, .hub-reading-panel):not([hidden]) {
  display: block;
  position: fixed;
  inset-block: var(--hub-reading-drawer-top) 0;
  max-block-size: calc(100dvh - var(--hub-reading-drawer-top));
}

body.hub-reading-narrow[data-hub-reading-panel] .hub-reading-scrim {
  z-index: 30;
  inset-inline: 0;
  background: rgba(21, 45, 71, .42);
}

body.hub-reading-narrow[data-hub-reading-panel] .hub-reading-panel {
  z-index: 31;
  inline-size: min(20rem, 86%);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 10px 12px max(18px, env(safe-area-inset-bottom));
  background: #f7fbff;
}

body.hub-reading-narrow[data-hub-reading-panel="menu"] .hub-reading-panel {
  inset-inline-start: 0;
  border-inline-end: 1px solid #b8cee6;
  box-shadow: 8px 0 24px rgba(21, 45, 71, .18);
}

body.hub-reading-narrow:is([data-hub-reading-panel="toc"], [data-hub-reading-panel="record"]) .hub-reading-panel {
  inset-inline-end: 0;
  border-inline-start: 1px solid #b8cee6;
  box-shadow: -8px 0 24px rgba(21, 45, 71, .18);
}

@media (prefers-reduced-motion: no-preference) {
  body.hub-reading-narrow[data-hub-reading-panel="menu"] .hub-reading-panel:not([hidden]) {
    animation: hub-reading-drawer-in .18s ease-out;
  }

  body.hub-reading-narrow:is([data-hub-reading-panel="toc"], [data-hub-reading-panel="record"]) .hub-reading-panel:not([hidden]) {
    animation: hub-reading-toc-in .18s ease-out;
  }
}

@keyframes hub-reading-drawer-in {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes hub-reading-toc-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

body.hub-reading-narrow .hub-reading-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-block-end: 8px;
}

body.hub-reading-narrow .hub-reading-panel-head h2 {
  margin: 0;
  font-size: 1.125rem;
}

body.hub-reading-narrow .hub-reading-panel-links {
  display: grid;
  gap: 6px;
}

body.hub-reading-narrow .hub-reading-panel-links > :is(a, button) {
  display: flex;
  align-items: center;
  min-block-size: 44px;
  padding: 7px 12px;
  border: 1px solid #c7d8eb;
  border-radius: 10px;
  background: #fff;
  color: #244f7b;
  text-decoration: none;
}

body.hub-reading-narrow .hub-reading-panel-links > button {
  font: inherit;
  text-align: start;
  cursor: pointer;
}

body.hub-reading-narrow .hub-reading-panel-links > [data-reading-list-entry] {
  flex-wrap: wrap;
}

body.hub-reading-narrow .hub-reading-panel-section {
  justify-content: space-between;
}

body.hub-reading-narrow .hub-reading-panel-section::after {
  content: "";
  inline-size: .5em;
  block-size: .5em;
  margin-inline-end: .25em;
  border-block-start: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
  transform: rotate(45deg);
}

body.hub-reading-narrow .hub-reading-panel-links a[aria-current] {
  background: #e4f0fe;
  font-weight: 800;
}

body.hub-reading-narrow .hub-reading-top {
  margin: 0 8px 12px;
}

body.hub-reading-narrow .hub-viewer-stage {
  padding: 8px 8px 0;
}

body.hub-reading-narrow .hub-page-article {
  padding: 0 0 10px;
}

body.hub-reading-narrow .hub-page-article [id] {
  scroll-margin-block-start: var(--hub-reading-hash-offset, 71px);
}

body.hub-reading-narrow .hub-section-neighbor-strip {
  padding-inline: 8px;
}

body.hub-reading-narrow .hub-section-neighbor-inner {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
}

body.hub-reading-narrow .hub-section-neighbor-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

body.hub-reading-narrow :is(.hub-section-neighbor-link, .hub-section-neighbor-index) {
  min-block-size: 44px;
  padding: 6px;
  overflow-wrap: anywhere;
}

body.hub-reading-narrow .hub-section-neighbor-actions .hub-dialogue-length {
  margin-inline-start: 0;
}

body.hub-reading-narrow.hub-home-page .hub-viewer-home-hero {
  margin: 0 0 12px;
}

body.hub-reading-narrow.hub-home-page .hub-page-article .chip {
  display: none;
}

body.hub-reading-narrow.hub-home-page .hub-page-article .page {
  padding: 14px 10px 8px;
}

body.hub-reading-narrow.hub-home-page .hub-page-article h1 {
  margin: 0 0 8px;
  font-size: 1.375rem;
}

body.hub-reading-narrow.hub-home-page .hub-page-article p {
  margin-block-end: 8px;
}

body.hub-reading-narrow.hub-home-page .hub-page-article .hub-info-actions {
  gap: 6px 10px;
  margin-block: 6px;
}

body.hub-reading-narrow.hub-home-page .hub-page-article .hub-ghost-btn {
  width: auto;
}

body.hub-reading-narrow.hub-home-page .hub-page-article .cards {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-block-start: 8px;
}

body.hub-reading-narrow.hub-home-page .hub-page-article .card {
  padding: 8px 10px;
}

body.hub-reading-narrow.hub-home-page .hub-page-article .card:has(> a) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 6px;
}

body.hub-reading-narrow.hub-home-page .hub-page-article .card:has(> a) h2 {
  margin: 0;
}

body.hub-reading-narrow.hub-home-page .hub-page-article .card:has(> a) p {
  grid-area: 2 / 1 / 3 / -1;
  margin: 0;
}

body.hub-reading-narrow.hub-home-page .hub-page-article .card > a {
  grid-area: 1 / 2;
  font-size: .8125rem;
}

body.hub-reading-narrow.hub-home-page .hub-page-article :is(.card, .hub-info-actions) a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
}

body.hub-reading-narrow[data-page-kind="dialogue"] {
  --hub-dialogue-avatar-size: 32px;
  --hub-dialogue-avatar-radius: 7px;
  --hub-dialogue-avatar-shadow: 0 2px 5px rgba(12,26,50,.10);
  --hub-dialogue-unit-gap: 5px;
  --hub-buddy-emote-size-s: calc(var(--hub-dialogue-avatar-size) * 46 / 120);
  --hub-buddy-emote-size-m: calc(var(--hub-dialogue-avatar-size) * 62 / 120);
  --hub-buddy-emote-size-l: calc(var(--hub-dialogue-avatar-size) * 74 / 120);
  --hub-buddy-emote-offset-edge: calc(var(--hub-dialogue-avatar-size) * -.1);
  --hub-buddy-emote-offset-side: calc(var(--hub-dialogue-avatar-size) * -.15);
}

body.hub-reading-narrow .dialogue-log .chat {
  padding: 10px 6px 16px;
}

body.hub-reading-narrow .dialogue-log .row {
  padding-inline: 0;
}

body.hub-reading-narrow .dialogue-log .row > .unit {
  flex-direction: column;
  align-items: stretch;
  inline-size: 100%;
}

body.hub-reading-narrow .dialogue-log .row > .unit > .stack,
body.hub-reading-narrow .dialogue-log .row > .unit > .stack > :is(.meta, .win) {
  max-inline-size: 100%;
}

body.hub-reading-narrow .dialogue-log .row > .unit > .stack > .win {
  inline-size: 100%;
  border-radius: 14px;
}

body.hub-reading-narrow .dialogue-log .row.user > .unit > .avatar {
  align-self: flex-end;
}

body.hub-reading-narrow .dialogue-log .body {
  padding: 9px 11px 11px;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

body.hub-reading-narrow .dialogue-log .msgId {
  padding-inline: 11px;
}

body.hub-reading-narrow .dialogue-log .body .lead {
  font-size: inherit;
}
