.wba-app {
    --wba-red: #b51c25;
    max-width: 960px;
    padding: 1.5rem;
    margin: 1.5rem auto;
    background: #fff;
    color: #20252b;
    border: 1px solid #c7cdd3;
    border-radius: 8px;
    line-height: 1.6;
}

.wba-app *,
.wba-app *::before,
.wba-app *::after {
    box-sizing: border-box;
}

.wba-app [hidden] {
    display: none !important;
}

.wba-app label {
    display: block;
    font-weight: 600;
}

.wba-app input,
.wba-app select,
.wba-app button {
    font: inherit;
    max-width: 100%;
}

.wba-app input,
.wba-app select {
    width: 100%;
    min-height: 44px;
    padding: .5rem;
    background: #fff;
    color: #20252b;
    border: 1px solid #687681;
    border-radius: 4px;
}

.wba-app button {
    min-height: 44px;
    padding: .5rem 1rem;
    background: #185b80;
    color: #fff;
    border: 1px solid #185b80;
    border-radius: 4px;
    cursor: pointer;
}

.wba-app button:hover {
    background: #10415c;
}

.wba-app :focus-visible {
    outline: 3px solid #9a5700;
    outline-offset: 3px;
}

.wba-app select:disabled {
    opacity: .6;
    cursor: wait;
}

.wba-search-line {
    display: flex;
    gap: .75rem;
    margin-top: .5rem;
}

.wba-search-line input {
    flex: 1;
    min-width: 0;
}

.wba-navigation {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.wba-app .wba-jesus {
    color: var(--wba-red);
}

.wba-verse-text {
    font-size: 1.15em;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.wba-error {
    border-left: 4px solid #b51c25;
    padding: .75rem;
    background: #fff0f0;
    color: #80141b;
}

.wba-demo {
    color: #784300;
    font-size: .9em;
    font-weight: 600;
}

.wba-app .wba-reference {
    padding: .25rem .5rem;
    background: transparent;
    color: #155677;
    border-color: #687681;
    text-align: left;
    text-decoration: underline;
}

.wba-app .wba-reference:hover {
    background: #eef5fa;
}

.wba-cross-refs,
.wba-results {
    margin-top: 1.5rem;
}

.wba-result {
    border-top: 1px solid #c7cdd3;
    padding: .75rem 0;
}

.wba-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

@media (max-width: 600px) {
    .wba-app {
        padding: 1rem;
    }
    .wba-navigation {
        grid-template-columns: 1fr;
    }
    .wba-search-line {
        flex-direction: column;
    }
}
