/* Version-switcher dropdown injected into Furo's announcement bar. */
.doc-version-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.doc-version-nav__label {
    opacity: 0.8;
}

.doc-version-nav__select {
    font: inherit;
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    border-radius: 0.25rem;
    padding: 0.1rem 0.4rem;
    cursor: pointer;
}

.doc-version-nav__select option {
    color: #000;
}

.doc-version-nav__all {
    color: inherit;
    opacity: 0.85;
    text-decoration: underline;
}

.doc-version-nav__all:hover {
    opacity: 1;
}

/* Keep CLI tokens like ``--force`` on one line (don't split after ``--``). */
span.pre,
code.docutils {
    white-space: nowrap;
}

/* Option / control tables: size the left column to its content. */
table.docutils {
    table-layout: auto;
    width: 100%;
}

table.docutils th:first-child,
table.docutils td:first-child {
    white-space: nowrap;
    width: 1%;
    min-width: 10rem;
    padding-right: 1.25rem;
}

/* Space between feathercli (and similar) command sections. */
article[role="main"] h3 {
    margin-top: 2.75em;
}

article[role="main"] h2 + h3 {
    margin-top: 0;
}

article[role="main"] hr {
    margin: 2.5em 0;
    border: none;
    border-top: 1px solid var(--color-background-border, rgba(128, 128, 128, 0.35));
}
