/* Compass component — isolated selectors. */

/* ── Filter / Tab Bar ── */
.compass-filter-inline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-bottom: 24px;
    overflow: visible;
    min-width: 0;
    background: #fff;
    border-radius: 14px;
    padding: 0 16px 0 0;
    box-shadow: 0 1px 4px rgba(15,23,42,.06), 0 4px 16px rgba(15,23,42,.04);
    min-height: 48px;
}
.compass-filter-inline::-webkit-scrollbar { display: none; }
.compass-filter-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    align-self: stretch;
    padding: 0 10px 0 12px;
}
.compass-filter-brand-icon {
    width: 26px; height: 26px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
}
.compass-filter-brand-text {
    font-size: 0.85rem;
    line-height: 1;
    font-weight: 800;
    color: #065f46;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.compass-filter-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
    flex-shrink: 0;
    margin: 0 4px;
}
.compass-filter-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 8px 0 8px 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.compass-filter-tabs::-webkit-scrollbar { display: none; }
.compass-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .2s ease;
    text-decoration: none;
}
.compass-tab:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.compass-tab.active {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}
.compass-tab .tab-count {
    background: rgba(255,255,255,.2);
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 0.68rem;
    font-weight: 700;
}
.compass-tab:not(.active) .tab-count {
    background: #e2e8f0;
    color: #64748b;
}
.compass-tab .hub-tab-icon {
    color: currentColor;
    opacity: 0.88;
}
.compass-tab.active .hub-tab-icon {
    opacity: 1;
}
.tab-divider {
    width: 1px;
    height: 16px;
    background: #e2e8f0;
    flex-shrink: 0;
    margin: 0 2px;
}
