.fbvf-controls {
    max-width: 1200px;
    margin: 0 auto;
    padding: .75rem clamp(.75rem, 3vw, 1.5rem);
}
.fbvf-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .625rem;
    margin: 0 auto 1rem;
}
.fbvf-nav a,
.fbvf-actions a,
.fbvf-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .4rem .9rem;
    border: 1px solid #a4813d;
    border-radius: 5px;
    background: #fff;
    color: #61481d;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}
.fbvf-nav a { border-radius: 999px; }
.fbvf-nav a:hover,
.fbvf-nav a[aria-current="page"],
.fbvf-actions a:hover,
.fbvf-actions button {
    background: #785721;
    border-color: #785721;
    color: #fff;
}
.fbvf-actions button:hover { background: #61481d; }
.fbvf :is(a, button, input, select):focus-visible {
    outline: 2px solid #61481d;
    outline-offset: 3px;
}
.fbvf-form {
    margin: 0;
    padding: clamp(.75rem, 3vw, 1.25rem);
    border: 1px solid #e4d6b7;
    border-radius: 10px;
    background: #fcfaf5;
}
.fbvf-fields {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.3fr);
    gap: .75rem;
}
.fbvf-form label {
    display: grid;
    gap: .25rem;
    min-width: 0;
    color: #3e321f;
    font-weight: 600;
}
.fbvf-form input,
.fbvf-form select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: .4rem .6rem;
    border: 1px solid #8e7957;
    border-radius: 4px;
    color: #292929;
    background-color: #fff;
    font-size: 1rem;
}
.fbvf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: .9rem;
}
.fbvf-status,
.fbvf-empty {
    margin: .35rem auto 0;
    text-align: center;
    padding: .35rem 1rem;
}
.fbvf-empty { padding-block: 1.6rem; }
@media (max-width: 820px) {
    .fbvf-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .fbvf-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .fbvf-nav a { padding-inline: .35rem; }
    .fbvf-form label:first-child,
    .fbvf-form label:last-child { grid-column: 1 / -1; }
}
