/* Overview: Patent graph host, navigation, readable hover cards, and wrapping CPC badges. */
html, body { margin: 0; width: 100%; height: 100%; background: #05070c; overflow: hidden; }
#galaxy { position: fixed; inset: 0; width: 100%; height: 100%; }
.patent-home { position: fixed; right: 16px; bottom: 10px; z-index: 10; color: #c5d9ed; background: #101824; padding: 6px 10px; border-radius: 5px; font: 12px sans-serif; }
.gx-rail-sep { flex: none; height: 1px; margin: 4px 12px; background: rgba(255, 255, 255, 0.12); }
.patent-error { color: #f88; padding: 16px; white-space: pre-wrap; }
/* Keep long patent titles and CPC lists inside hover cards. */
.gx-label-hover { max-width: var(--patent-label-width); max-height: 260px; overflow: auto; white-space: normal; }
.gx-source-panel a { color: #8acbff; overflow-wrap: anywhere; }

/* Share wrapping width between graph labels and hover cards. */
.gx-label { max-width: var(--patent-label-width); white-space: normal; overflow-wrap: anywhere; font-size: var(--patent-label-font); }
.gx-label-hover { box-sizing: border-box; }
.gx-hover-name { font-size: var(--patent-hover-title-font); }
