/* Only managed public help popups; other components keep their existing styles. */
.tooltip.nc-tooltip {
    position: fixed;
    z-index: 1080;
    box-sizing: border-box;
    width: 336px;
    max-width: calc(100vw - 24px);
    padding: 8px;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    font: inherit;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
    transition: opacity 150ms ease-out;
}
.tooltip.nc-tooltip.show { opacity: 1; pointer-events: auto; }
.tooltip.nc-tooltip::before, .tooltip.nc-tooltip::after { content: none; }
.tooltip.nc-tooltip .tooltip-inner {
    box-sizing: border-box;
    max-width: none;
    max-height: calc(100vh - 40px);
    padding: 16px 18px;
    border: 1px solid #e1ebf3;
    border-radius: 14px;
    background: #fff;
    color: #3c4856;
    box-shadow: 0 6px 22px rgba(9, 55, 88, .14);
    font-weight: 400;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #becfe0 transparent;
    transform: translateY(3px);
    transition: transform 150ms ease-out;
}
.tooltip.nc-tooltip.show .tooltip-inner { transform: translateY(0); }
.tooltip.nc-tooltip .tooltip-inner > :first-child { margin-top: 0; }
.tooltip.nc-tooltip .tooltip-inner > :last-child { margin-bottom: 0; }
.tooltip.nc-tooltip .tooltip-inner a { color: #0972ce; text-decoration: underline; }
.tooltip.nc-tooltip .tooltip-inner img { max-width: 100%; height: auto; }
.tooltip.nc-tooltip .tooltip-inner pre { white-space: pre-wrap; }
.tooltip.nc-tooltip .arrow { position: absolute; width: 16px; height: 8px; pointer-events: none; }
.tooltip.nc-tooltip .arrow::before { position: absolute; content: ""; border: solid transparent; }
.tooltip.nc-tooltip[x-placement^="top"] .arrow { bottom: 0; }
.tooltip.nc-tooltip[x-placement^="top"] .arrow::before { border-width: 8px 8px 0; border-top-color: #fff; }
.tooltip.nc-tooltip[x-placement^="bottom"] .arrow { top: 0; }
.tooltip.nc-tooltip[x-placement^="bottom"] .arrow::before { border-width: 0 8px 8px; border-bottom-color: #fff; }
.tooltip.nc-tooltip[x-placement^="left"] .arrow { right: 0; width: 8px; height: 16px; }
.tooltip.nc-tooltip[x-placement^="left"] .arrow::before { border-width: 8px 0 8px 8px; border-left-color: #fff; }
.tooltip.nc-tooltip[x-placement^="right"] .arrow { left: 0; width: 8px; height: 16px; }
.tooltip.nc-tooltip[x-placement^="right"] .arrow::before { border-width: 8px 8px 8px 0; border-right-color: #fff; }
.tooltip--toggle:focus-visible { outline: 2px solid #0972ce; outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
    .tooltip.nc-tooltip, .tooltip.nc-tooltip .tooltip-inner { transition: none; }
    .tooltip.nc-tooltip .tooltip-inner { transform: none; }
}
