.app-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.app-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 54px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.app-logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.app-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.app-logo:hover {
    text-decoration: underline;
}

.app-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    justify-content: flex-end;
}

.app-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary);
    text-decoration: none;
}

.app-nav a:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.app-nav a.is-active {
    color: var(--color-text);
    font-weight: 600;
}

.app-main {
    min-height: 50vh;
}

@media (max-width: 576px) {
    .app-header__inner {
        flex-direction: row;
        align-items: center;
        min-height: 52px;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .app-logo {
        font-size: 14px;
    }

    .app-logo-img {
        height: 32px;
        max-width: 150px;
    }

    .app-nav__list {
        gap: 0.5rem 0.85rem;
        font-size: 13px;
        flex-wrap: wrap;
    }

    .app-nav a {
        font-size: 12px;
    }
}
