/* Shared top banner for search and the signed-in workspace. */

.app-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    box-sizing: border-box;
    min-height: 60px;
    padding: 0 20px;
    background: #14241c;
    color: #ffffff;
    border-bottom: none;
}

.app-banner-brand {
    display: inline-flex;
    align-items: center;
    width: 216px;
    max-width: 100%;
    color: #ffffff;
    text-decoration: none;
}

.app-banner-brand:hover,
.app-banner-brand:focus-visible {
    color: #ffffff;
}

.app-banner-title {
    font-family: "Source Serif 4", Georgia, "Palatino Linotype", Palatino, serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.app-banner-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
    max-width: calc(100% - 8rem);
}

.app-banner .inline-form {
    margin: 0;
}

.app-banner-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #3e5246;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}

.app-banner-logout:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: #c5d0c4;
}

.app-banner-logout:focus-visible,
.app-banner button.app-banner-menu:focus-visible {
    outline: 2px solid #efe6cf;
    outline-offset: 2px;
}

.app-banner button.app-banner-menu {
    display: none;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 6px 11px;
    border: 1px solid rgba(242, 239, 230, 0.4);
    border-radius: 8px;
    background: transparent;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.02em;
    cursor: pointer;
    color: #f2efe6;
}

.app-banner button.app-banner-menu:hover:not(:disabled) {
    background: rgba(242, 239, 230, 0.12);
    border-color: #f2efe6;
    color: #f2efe6;
}

@media (max-width: 800px) {
    .search-shell .app-banner button.app-banner-menu {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    .app-root .app-banner button.app-banner-menu {
        display: inline-flex;
    }

    .app-banner-brand {
        width: auto;
    }
}
