.result { position: relative; overflow: visible; }
.result .chart-shell { min-width: 0; overflow: auto; }
.result .chart-shell > svg { display: block; width: 100%; height: auto; max-width: none; margin-inline: auto; }
.result .result-summary { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.result .hd-viewer-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 15px 0; }
.hd-viewer-modes, .hd-viewer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.hd-viewer-toolbar button, .hd-viewer-toolbar summary { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 13px; border: 1px solid #b9c3cf; border-radius: 10px; color: #171d25; background: #fff; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.hd-viewer-toolbar button:hover, .hd-viewer-toolbar summary:hover { border-color: #526b96; }
.hd-viewer-toolbar button[aria-pressed="true"] { border-color: #1a293b; color: #fff; background: #1a293b; }
.hd-viewer-toolbar button:focus-visible, .hd-viewer-toolbar summary:focus-visible, .hd-viewer-card a:focus-visible, .hd-viewer-card button:focus-visible { outline: 3px solid #6e93e0; outline-offset: 2px; }
.hd-viewer-toolbar button:disabled { opacity: .55; cursor: wait; }
.hd-save-menu { position: relative; z-index: 12; }
.hd-save-menu summary { list-style: none; }
.hd-save-menu summary::-webkit-details-marker { display: none; }
.hd-save-menu > div { position: absolute; top: calc(100% + 5px); right: 0; display: grid; min-width: 190px; gap: 4px; padding: 8px; border: 1px solid #b9c3cf; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgb(18 29 44 / 16%); }
.hd-save-menu:not([open]) > div { display: none; }
.hd-save-menu button { justify-content: flex-start; width: 100%; border-color: transparent; }
.hd-viewer-card { position: absolute; z-index: 20; top: 106px; right: 16px; width: min(390px, calc(100% - 32px)); max-height: min(75vh, 690px); overflow: auto; padding: 19px; border: 1px solid #b6c5d5; border-radius: 16px; color: #17202b; background: #fff; box-shadow: 0 16px 45px rgb(16 29 44 / 24%); }
.hd-viewer-card[hidden] { display: none; }
.hd-viewer-card h3 { margin: 0 35px 12px 0; font-size: 21px; }
.hd-viewer-card p { margin: 0 0 10px; line-height: 1.5; }
.hd-viewer-card a { display: inline-block; margin: 5px 0; color: #164f9d; font-weight: 700; }
.hd-viewer-card input { width: 100%; margin-bottom: 5px; font-size: 13px; }
.hd-viewer-card button { min-height: 34px; margin: 0 0 12px; padding: 5px 10px; border: 1px solid #b9c3cf; border-radius: 8px; background: #fff; cursor: pointer; }
.hd-card-close { position: absolute; top: 10px; right: 12px; width: 32px; font-size: 23px; line-height: 1; }
.result .chart-shell > svg.hd-static .hover-entity,
.result .chart-shell > svg.hd-static .composite-entity { cursor: default; transition: none; }
.result .chart-shell > svg.hd-static [data-channel] > path[stroke-opacity="0"] { pointer-events: none; }
@media (max-width: 700px) {
  .result .hd-viewer-toolbar { align-items: stretch; }
  .hd-viewer-actions { width: 100%; }
  .hd-viewer-card { position: fixed; top: auto; right: 0; bottom: 0; left: 0; box-sizing: border-box; width: 100%; max-height: 67vh; border-radius: 18px 18px 0 0; padding: 20px; }
  .result .result-summary, .result .partner-summaries, .result .channel-summary > div { min-width: 0; }
  .result .composite-facts { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result .partner-summaries { grid-template-columns: minmax(0, 1fr); }
  .result .partner-summaries dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result .channel-summary > div { grid-template-columns: minmax(0, 1fr); }
  .result .result-summary dd, .result .channel-summary li { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .result .chart-shell > svg .hover-entity,
  .result .chart-shell > svg .composite-entity { transition: none; }
}
.hd-public-page { margin: 0; color: #17202b; background: #f4f6f8; font-family: system-ui, sans-serif; }
.hd-public-main { width: min(1650px, calc(100% - 28px)); margin: 24px auto 70px; }
.hd-public-main > h1 { font-size: clamp(27px, 4vw, 44px); }
.hd-public-main a { color: #164f9d; }
.hd-public-main .chart-shell { border: 1px solid #c8d1dc; border-radius: 16px; background: #fff; }
.hd-public-page .chart-shell > svg .hover-entity,
.hd-public-page .chart-shell > svg .composite-entity { cursor: help; transition: opacity 140ms ease, filter 140ms ease; }
.hd-public-page .chart-shell > svg :is(.integration-spoke-visual, .composite-gate-visual) { transition: opacity 140ms ease, filter 140ms ease; }
.hd-public-page .chart-shell > svg [data-channel] > path[stroke-opacity="0"] { pointer-events: stroke; }
.hd-public-page .chart-shell > svg [data-integration-spoke] { pointer-events: none; }
.hd-public-page .chart-shell > svg.is-exploring :is(.integration-spoke-visual, .composite-gate-visual) { opacity: .16; }
.hd-public-page .chart-shell > svg.is-exploring .integration-spoke-visual.is-related-integration,
.hd-public-page .chart-shell > svg.is-exploring .composite-gate-visual.is-related-visual { opacity: 1; }
.hd-public-page .chart-shell > svg.is-exploring .hover-entity,
.hd-public-page .chart-shell > svg.is-exploring .composite-entity { opacity: .16; }
.hd-public-page .chart-shell > svg.is-exploring .hover-entity.is-related,
.hd-public-page .chart-shell > svg.is-exploring .composite-entity.is-related { opacity: 1; }
.hd-public-page .chart-shell > svg.is-exploring .hover-entity.is-related-channel { opacity: .48; }
.hd-public-page .chart-shell > svg.is-exploring :is(.hover-entity, .composite-entity)[data-center-state]:not(.is-related-center):not(.is-primary) { opacity: 1; filter: saturate(.22) brightness(1.1); }
.hd-public-page .chart-shell > svg.is-exploring :is(.hover-entity, .composite-entity).is-related-center { opacity: 1; filter: drop-shadow(0 0 7px rgb(15 116 144 / 55%)); }
.hd-public-page .chart-shell > svg.is-exploring :is(.hover-entity, .composite-entity).is-primary { opacity: 1; filter: drop-shadow(0 0 6px rgb(184 134 11 / 85%)); }
.hd-public-page .chart-tooltip { position: fixed; z-index: 50; width: max-content; max-width: min(380px, calc(100vw - 30px)); padding: 10px 13px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 10px; color: #fff; background: rgb(16 23 34 / 94%); box-shadow: 0 10px 30px rgb(16 23 34 / 28%); pointer-events: none; }
.hd-public-page .chart-tooltip[hidden] { display: none; }
.hd-public-page .chart-tooltip strong, .hd-public-page .chart-tooltip span { display: block; }
.hd-public-page .chart-tooltip strong { margin-bottom: 3px; }
.hd-public-page .chart-tooltip span { color: #d9e0ea; font-size: 13px; line-height: 1.4; }
.hd-public-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hd-public-summary dt { color: #657080; font-size: 13px; }
.hd-public-summary dd { margin: 0; font-weight: 700; }
.hd-public-page #delete-publication { min-height: 44px; padding: 8px 18px; border: 1px solid #ad2947; border-radius: 9px; color: #fff; background: #a92140; cursor: pointer; }
@media (max-width: 700px) { .hd-public-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  .hd-public-page .chart-shell > svg .hover-entity,
  .hd-public-page .chart-shell > svg .composite-entity,
  .hd-public-page .chart-shell > svg :is(.integration-spoke-visual, .composite-gate-visual) { transition: none; }
}
