.hub-navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1030;
    min-height: 68px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e8ee;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 2px 8px #10233d0a;
    backdrop-filter: blur(12px);
}

.hub-navbar-inner {
    display: flex;
    width: 100%;
    max-width: 1440px;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 10px 24px;
}

.hub-navbar-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: #17355e;
    text-decoration: none;
}

.hub-navbar-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    object-fit: contain;
}

.hub-navbar-title {
    overflow: hidden;
    color: #17355e;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.hub-home-link {
    display: inline-flex;
    min-height: 40px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: 16px;
    padding: 0 14px;
    border: 1px solid #ded9f4;
    border-radius: 11px;
    color: #624fc1;
    background: #f7f5ff;
    font: 700 13px/1 'Segoe UI', Arial, sans-serif;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.hub-home-link:hover {
    transform: translateY(-1px);
    border-color: #c9c0ee;
    color: #4c399f;
    background: #efecff;
}

.hub-home-link:focus-visible {
    outline: 3px solid #a995f3;
    outline-offset: 3px;
}

.hub-home-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

@media (max-width: 600px) {
    .hub-navbar-inner {
        padding: 10px 16px;
    }

    .hub-navbar-logo {
        width: 36px;
        height: 36px;
    }

    .hub-navbar-title {
        font-size: .8rem;
        letter-spacing: .02em;
    }

    .hub-home-link {
        min-height: 38px;
        margin-left: 10px;
        padding: 0 11px;
    }
}

@media (max-width: 380px) {
    .hub-home-link span {
        display: none;
    }
}
