/* Sidebar navigation list shared by panel-style pages (Utilities, Templates):
   a vertical list of links with an accent-filled active entry. */

.panel-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.panel-nav li {
    margin-bottom: 5px;
}

/* :not(.chip) — a chip inside a nav row (an Open/Revoke action) keeps its own
   pill styling instead of being restyled as a nav link. */
.panel-nav a:not(.chip) {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    font-size: var(--font-size-base);
}

/* Truncate a long entry label so a trailing badge stays on one line. */
.panel-nav-label {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-nav a:not(.chip):hover {
    background: var(--color-surface-hover);
    color: var(--color-accent);
}

.panel-nav a:not(.chip).active {
    background: var(--color-accent);
    color: var(--color-on-accent);
    font-weight: 500;
}