/* Behnke-Station menu entries rendered as inline pills (icon + name on the
   brand-blue background) — see BsMenuPill.php. Visually mirrors an active
   sidebar menu node (.menu-node-active uses the same --behnke-design blue). */
.bs-menu-pill {
    display: inline-flex;
    align-items: center;
    gap: calc(0.45 * var(--behnke-basic));
    padding: calc(0.2 * var(--behnke-basic)) calc(0.7 * var(--behnke-basic));
    border-radius: calc(0.35 * var(--behnke-basic));
    background-color: var(--behnke-design, #0066cc);
    color: #fff;
    font-size: var(--behnke-normal-font-size, 0.875rem);
    line-height: 1.4;
    white-space: nowrap;
    vertical-align: baseline;
}

/* Icons keep their original colors (same asset as the sidebar). Only drop the
   default right margin — spacing inside the pill is handled by `gap`. */
.bs-menu-pill .wiki-icon {
    margin-right: 0;
}

/* Toolbar buttons (e.g. "Speichern"). Grey in the normal state; the
   `--changed` modifier turns it red, mirroring the station UI when there are
   unsaved changes. No icon — just the bold, uppercase label. */
.bs-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: calc(0.22 * var(--behnke-basic)) calc(1.1 * var(--behnke-basic));
    border-radius: calc(0.35 * var(--behnke-basic));
    background-color: #6b6661;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: var(--behnke-normal-font-size, 0.875rem);
    line-height: 1.5;
    white-space: nowrap;
    vertical-align: baseline;
}

.bs-menu-btn--changed {
    background-color: #ff1f1f;
}

/* GOTO chains: a localized lead-in sentence followed by the target pill or
   button on one baseline-aligned row. */
.bs-menu-goto {
    display: flex;
    align-items: center;
    gap: calc(0.5 * var(--behnke-basic));
    flex-wrap: wrap;
}

.bs-menu-goto--inline {
    display: inline-flex;
}
