.nc-info-help { display: inline; }
.nc-info-help.is-ready { display: inline-flex; vertical-align: middle; align-items: center; margin: 0 3px; }
.nc-info-help.is-ready > [data-nc-help-content] { display: none !important; }
.nc-info-help__trigger { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 3px; border: 0; border-radius: 50%; background: transparent; color: #526e73; cursor: help; vertical-align: middle; }
.nc-info-help__trigger[hidden] { display: none; }
.nc-info-help__trigger:hover, .nc-info-help__trigger[aria-expanded="true"] { background: #eaf2f2; color: #295157; }
.nc-info-help__trigger:focus-visible { outline: 2px solid #295157; outline-offset: 2px; }
.nc-info-help-popup { position: fixed; inset: auto; margin: 0; width: max-content; max-width: min(360px, calc(100vw - 24px)); max-height: min(360px, calc(100dvh - 24px)); overflow: auto; box-sizing: border-box; padding: 12px 36px 12px 14px; border: 1px solid #d7e2e5; border-radius: 10px; background: #fff; color: #334155; box-shadow: 0 8px 26px #0f172a24; font: 13px/1.5 system-ui, sans-serif; z-index: 2147483647; text-align: left; overflow-wrap: anywhere; }
.nc-info-help-popup[hidden] { display: none; }
.nc-info-help-popup::backdrop { background: transparent; pointer-events: none; }
.nc-info-help-popup a { color: #295157; text-decoration: underline; }
.nc-info-help-popup__close { position: absolute; right: 5px; top: 5px; width: 26px; height: 26px; border: 0; border-radius: 5px; background: transparent; color: inherit; cursor: pointer; font-size: 20px; }
.dark .nc-info-help__trigger { color: #a4c6ca; }
.dark .nc-info-help__trigger:hover { background: #294044; }
.dark .nc-info-help-popup { background: #27272a; color: #e4e4e7; border-color: #52525b; }
.dark .nc-info-help-popup a { color: #a4c6ca; }
@media (pointer: coarse) { .nc-info-help__trigger { width: 30px; height: 30px; } }
@media print { .nc-info-help__trigger, .nc-info-help-popup { display: none !important; } .nc-info-help.is-ready > [data-nc-help-content] { display: inline !important; } }

.nc-info-help-label::after { content: none !important; }

/* Label help uses only its intrinsic width, immediately after the label. */
:is(.fi-fo-field-label-ctn, .fi-in-entry-label-ctn) > .fi-sc:has([data-nc-help]) {
    flex: 0 0 auto; width: auto; justify-content: flex-start; margin-inline-start: -8px;
}
:is(h1, h2, h3, h4, h5, h6, strong, summary) > .nc-info-help { font-weight: normal; text-transform: none; letter-spacing: normal; }
