/* Shared operations-console navigation used by Dashboard, Monitors, and Health Map. */
.ops-console-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: -4px 0 16px;
    padding: 5px;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color, var(--line, #d8d8d2));
    border-radius: 10px;
    background: var(--bg-secondary, var(--surface, #fff));
}

.ops-console-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 8px;
    color: var(--text-secondary, var(--ink-2, #444));
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.ops-console-switcher a:hover,
.ops-console-switcher a:focus-visible {
    background: var(--bg-tertiary, var(--surface-2, #f4f4f2));
    color: var(--text-primary, var(--ink, #111));
    outline: none;
}

.ops-console-switcher a.is-active {
    background: var(--text-primary, var(--ink, #111));
    color: var(--bg-primary, var(--bg, #fff));
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.ops-console-switcher .ops-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.68rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
    .ops-console-switcher {
        width: 100%;
        margin-top: 0;
    }

    .ops-console-switcher a {
        flex: 1 0 auto;
        justify-content: center;
    }
}
