.viewport-menu[popover]:not(:popover-open) { display: none !important; }
.viewport-menu { z-index: 100000; color: #e2edf8; border: 1px solid #355067; border-radius: 11px; background: #101d2b; padding: 8px; box-shadow: 0 12px 32px #0008; scrollbar-width: thin; }
.viewport-menu button, .viewport-menu a { min-height: 40px; overflow-wrap: anywhere; white-space: normal; }
.viewport-menu button:focus-visible, .viewport-menu a:focus-visible { outline: 2px solid #79c8ed; outline-offset: -2px; }

.context-commands { display: grid; gap: 3px; }
.context-commands button { display: block; width: 100%; text-align: left; border: 0; border-radius: 6px; padding: 10px; background: transparent; color: inherit; font: 13px/1.4 system-ui, sans-serif; }
.context-commands button:hover { background: #24394b; }
.context-commands button:disabled { opacity: .55; cursor: default; }

.codego-tooltip[popover]:not(:popover-open) { display: none !important; }
.codego-tooltip { position: fixed; inset: auto; margin: 0; width: max-content; max-width: 280px; padding: 7px 10px; border: 1px solid #4a6177; border-radius: 7px; background: #192b3b; color: #edf4fc; box-shadow: 0 6px 18px #0004; font: 11px/1.5 system-ui, sans-serif; overflow-wrap: anywhere; white-space: normal; pointer-events: none; overflow: hidden; z-index: 100001; }
