/*
 * QFQ Backend tweaks.
 *
 * Source file. Copied to extension/Resources/Public/Css/Backend.css by
 * javascript/build/copy.js during `npm run build`. Do not edit the
 * copy in extension/Resources/Public/Css/ — that location is
 * gitignored and overwritten on every build.
 *
 * Extension Manager configuration: TYPO3 v12+ renders category tabs as
 * a single horizontally scrollable row. QFQ has many tabs and that
 * makes the list cumbersome. Restore the v11 behaviour (tabs wrap onto
 * multiple lines) only inside the EM Configure dialog — the
 * `.searchhit` wrapper is exclusive to that screen.
 */
.searchhit .nav-tabs {
    flex-wrap: wrap;
    row-gap: 2px;
}