/**
 * Chord Library Redesign - Phase 1: Unified State
 * VERSION 8.0.0 - UPDATED FEB 2026
 * 
 * CHANGES IN THIS VERSION:
 * - Added filter pills styling
 * - Pills show active filters with removable X buttons
 * - Color-coded by type (chord search, text query, dropdown filter)
 * 
 * Includes: Page layout + Clean interactive cards + Filter pills
 */

/* ==============================================
   CONTAINER & LAYOUT
   ============================================== */

.sbn-chord-library-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sbn-chord-library-redesign {
    position: relative;
}

/* ==============================================
   HEADER SECTION
   ============================================== */

.sbn-library-header {
    text-align: center;
    margin-bottom: 50px;
}

.sbn-library-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
}

.sbn-library-subtitle {
    font-size: 18px;
    color: #718096;
    margin: 0 0 40px 0;
    font-weight: 400;
}

/* ==============================================
   UNIFIED SEARCH BOX
   ============================================== */

.sbn-search-container {
    max-width: 700px;
    margin: 0 auto 30px;
}

.sbn-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 6px 6px 6px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sbn-search-box:hover {
    border-color: #cbd5e0;
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.08);
}

.sbn-search-box:focus-within {
    border-color: #e85d3b;
    box-shadow: 0 0 0 4px rgba(232, 93, 59, 0.1), 
                0 8px 16px -2px rgba(0, 0, 0, 0.1);
}

.sbn-search-icon {
    color: #a0aec0;
    flex-shrink: 0;
    margin-right: 12px;
    transition: color 0.2s;
}

.sbn-search-box:focus-within .sbn-search-icon {
    color: #e85d3b;
}

.sbn-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    color: #2d3748;
    background: transparent;
    padding: 14px 0;
    font-weight: 500;
}

.sbn-search-input::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.sbn-clear-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #f7fafc;
    color: #718096;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sbn-clear-btn:hover {
    background: #e85d3b;
    color: white;
}

/* Search Examples */
.sbn-search-examples {
    margin-top: 16px;
    font-size: 14px;
    color: #718096;
    text-align: center;
}

.sbn-search-examples strong {
    color: #4a5568;
    margin-right: 8px;
}

.sbn-example-btn {
    display: inline-block;
    padding: 6px 14px;
    margin: 4px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #4a5568;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.sbn-example-btn:hover {
    border-color: #e85d3b;
    color: #e85d3b;
    background: #fff5f2;
}

/* ==============================================
   FILTER SIDEBAR (Permanent, Right Side)
   ============================================== */

/* Content wrapper: sidebar + grid */
.sbn-content-wrapper {
    display: flex;
    gap: 24px;
    position: relative;
}

/* Sidebar — always visible */
.sbn-filter-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    width: 240px;
    min-width: 240px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    order: 1; /* Sidebar on right */
}

/* Results container takes remaining space */
.sbn-content-wrapper .sbn-results-container {
    flex: 1;
    min-width: 0;
    order: 0; /* Grid on left */
}

/* Sidebar header */
.sbn-sidebar-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.sbn-sidebar-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
}

/* Sidebar sections */
.sbn-sidebar-section {
    margin-bottom: 20px;
}

.sbn-sidebar-label {
    font-size: 11px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px 0;
}

/* Option buttons (replace dropdowns) */
.sbn-sidebar-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sbn-sidebar-option {
    padding: 5px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #4a5568;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    line-height: 1.2;
}

.sbn-sidebar-option:hover {
    border-color: #e85d3b;
    color: #e85d3b;
    background: #fff5f2;
}

.sbn-sidebar-option.sbn-option-active {
    background: #e85d3b;
    border-color: #e85d3b;
    color: white;
}

.sbn-sidebar-option.sbn-option-active:hover {
    background: #d1502f;
    border-color: #d1502f;
    color: white;
}

/* Clear filters button */
.sbn-clear-filters-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #718096;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.sbn-clear-filters-btn:hover {
    border-color: #e85d3b;
    color: #e85d3b;
    background: #fff5f2;
}

/* Scrollbar styling for sidebar */
.sbn-filter-sidebar::-webkit-scrollbar {
    width: 4px;
}

.sbn-filter-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sbn-filter-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 2px;
}

.sbn-filter-sidebar::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* ==============================================
   SEARCH STATUS
   ============================================== */

/* ==============================================
   VOICING COUNT BAR
   ============================================== */

.sbn-search-status {
    margin-bottom: 24px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 8px 4px;
    transition: opacity 0.2s ease;
}

.sbn-count-bar {
    display: flex;
    justify-content: center;
    gap: 15px;  
    align-items: center;
    padding: 6px 0;
}

.sbn-count-text {
    font-size: 14px;
    color: #718096;
}

.sbn-count-text strong {
    color: #1a202c;
}

.sbn-count-clear {
    border: 1px solid #e2e8f0;
    background: none;
    color: #718096;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.15s;
}

.sbn-count-clear:hover {
    color: #e85d3b;
    background: #fff5f2;
}

.sbn-status-loading {
    text-align: center;
    padding: 8px;
    color: #718096;
    font-size: 15px;
}

.sbn-status-loading::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-top-color: #e85d3b;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 12px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.sbn-edu-panel {
    margin-bottom: 24px;
 /*   min-height: 160px; /* Fixed minimum — prevents grid from jumping */ */
}

.sbn-edu-content {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 32px;
    transition: opacity 0.2s ease;
}

.sbn-edu-content.sbn-edu-fading {
    opacity: 0;
}

/* Welcome state (default) */
.sbn-edu-welcome h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
}

.sbn-edu-welcome-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sbn-edu-welcome-section h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 700;
    color: #e85d3b;
}

.sbn-edu-welcome-section p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #4a5568;
}

/* Contextual sections grid */
.sbn-edu-grid {
    display: grid;
    gap: 24px;
}

.sbn-edu-grid.sbn-edu-cols-1 {
    grid-template-columns: 1fr;
}

.sbn-edu-grid.sbn-edu-cols-2 {
    grid-template-columns: 1fr 1fr;
}

.sbn-edu-grid.sbn-edu-cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.sbn-edu-grid.sbn-edu-cols-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* Individual section */
.sbn-edu-section {
    padding: 0;
}

.sbn-edu-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.sbn-edu-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Badge colors by type */
.sbn-edu-quality .sbn-edu-badge {
    background: #fff5f2;
    color: #e85d3b;
}

.sbn-edu-voicing .sbn-edu-badge {
    background: #ebf8ff;
    color: #3182ce;
}

.sbn-edu-inversion .sbn-edu-badge {
    background: #f0fff4;
    color: #38a169;
}

.sbn-edu-extension .sbn-edu-badge {
    background: #faf5ff;
    color: #805ad5;
}

.sbn-edu-section h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
}

.sbn-edu-intervals {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
    color: #718096;
    background: #f7fafc;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.sbn-edu-section p {
    margin: 0 0 8px 0;
    font-size: 13px;
    line-height: 1.65;
    color: #4a5568;
}

.sbn-edu-section p:last-child {
    margin-bottom: 0;
}

.sbn-edu-usage,
.sbn-edu-tip,
.sbn-edu-context {
    font-size: 12px !important;
    color: #718096 !important;
    padding-top: 4px;
    border-top: 1px solid #f1f5f9;
}

/* Multi-section separator */
.sbn-edu-grid.sbn-edu-cols-2 .sbn-edu-section:not(:first-child),
.sbn-edu-grid.sbn-edu-cols-3 .sbn-edu-section:not(:first-child),
.sbn-edu-grid.sbn-edu-cols-4 .sbn-edu-section:not(:first-child) {
    border-left: 1px solid #e2e8f0;
    padding-left: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .sbn-edu-welcome-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .sbn-edu-grid {
        grid-template-columns: 1fr !important;
    }
    
    .sbn-edu-grid .sbn-edu-section:not(:first-child) {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid #e2e8f0;
        padding-top: 16px;
    }
    
    .sbn-edu-content {
        padding: 20px;
    }
}

/* ==============================================
   CHORD CARDS GRID
   ============================================== */

.sbn-results-container {
    flex: 1;
    min-width: 0;
}

.sbn-chords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Filtered card visibility */
.sbn-chord-card.sbn-filtered-out {
    display: none;
}

/* No results message */
#sbn-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #a0aec0;
}

#sbn-no-results h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

/* ==============================================
   CARD STYLES: See sbn-chord-card.css
   (Single source of truth for all chord cards)
   ============================================== */

/* Library-specific: clickable metadata filter triggers */
.sbn-clickable-metadata {
    cursor: pointer;
    transition: color 0.2s;
}

.sbn-clickable-metadata:hover {
    color: #e85d3b;
    text-decoration: none;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */

@media (max-width: 1024px) {
    .sbn-chords-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
    
    /* Stack sidebar below grid on smaller screens */
    .sbn-content-wrapper {
        flex-direction: column;
    }
    
    .sbn-filter-sidebar {
        position: static;
        width: 100%;
        min-width: 100%;
        max-height: none;
        order: -1; /* Sidebar on top when stacked */
        border-radius: 12px;
    }
    
    .sbn-sidebar-options {
        flex-wrap: wrap;
    }
}

/* ==============================================
   INFO MODAL (Phase 3)
   ============================================== */

.sbn-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sbn-modal-overlay.sbn-modal-visible {
    opacity: 1;
}

.sbn-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.sbn-modal-visible .sbn-modal {
    transform: translateY(0) scale(1);
}

/* Modal Header — close button floats top-right, title centered below */
.sbn-modal-header {
    position: relative;
    padding: 24px 28px 0;
    text-align: center;
}

.sbn-modal-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.sbn-modal-title .sbn-chord-symbol {
    font-size: 36px;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.1;
}

.sbn-modal-title .sbn-modal-subtitle {
    font-size: 13px;
    color: #718096;
}

.sbn-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f7fafc;
    color: #718096;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.sbn-modal-close:hover {
    background: #edf2f7;
    color: #1a202c;
}

/* Modal diagram area — centered diagram, meta tags below */
.sbn-modal-diagram-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 28px 16px;
}

.sbn-modal-diagram {
    flex-shrink: 0;
}

.sbn-modal-diagram .sbn-chord-fretboard {
    transform: scale(1.3);
    transform-origin: top center;
    margin-bottom: 20px;
}

.sbn-modal-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-content: flex-start;
}

.sbn-modal-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.sbn-modal-tag-voicing {
    background: #ebf8ff;
    color: #3182ce;
}

.sbn-modal-tag-root-string {
    background: #f0fff4;
    color: #38a169;
}

.sbn-modal-tag-inversion {
    background: #faf5ff;
    color: #805ad5;
}

.sbn-modal-tag-intervals {
    background: #f7fafc;
    color: #718096;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.sbn-modal-tag-popularity {
    background: #fff5f2;
    color: #e85d3b;
}

/* Modal sections */
.sbn-modal-body {
    padding: 0 28px 24px;
}

.sbn-modal-section {
    padding: 20px 0;
}

.sbn-modal-section + .sbn-modal-section {
    border-top: 1px solid #f1f5f9;
}

.sbn-modal-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #a0aec0;
    margin: 0 0 12px 0;
}

/* Analysis section — reuses .sbn-edu-section styles, stacked vertically */
.sbn-modal-analysis-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sbn-modal-analysis-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 12px 0;
}

/* Edu sections inside modal don't need left border separators */
.sbn-modal-analysis-grid .sbn-edu-section {
    padding-left: 0 !important;
    border-left: none !important;
}

/* Songs section */
.sbn-modal-songs-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sbn-modal-song-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.sbn-modal-song-item + .sbn-modal-song-item {
    border-top: 1px solid #f7fafc;
}

/* Clickable song links */
a.sbn-modal-song-link {
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    border-radius: 6px;
    margin: 0 -8px;
    padding: 8px 8px;
}

a.sbn-modal-song-link:hover {
    background: #fff5f2;
}

a.sbn-modal-song-link:hover .sbn-modal-song-title {
    color: #e85d3b;
}

a.sbn-modal-song-link + a.sbn-modal-song-link {
    border-top: none;
}

.sbn-modal-song-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a202c;
}

.sbn-modal-song-chord {
    font-size: 12px;
    color: #a0aec0;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    white-space: nowrap;
}

.sbn-modal-songs-empty {
    font-size: 13px;
    color: #a0aec0;
    font-style: italic;
}

/* Related voicings section */
.sbn-modal-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.sbn-modal-related-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sbn-modal-related-card:hover {
    border-color: #e85d3b;
    background: #fff;
}

.sbn-modal-related-card .sbn-modal-related-type {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #718096;
    margin-bottom: 6px;
}

.sbn-modal-related-card .sbn-modal-related-diagram {
    display: flex;
    justify-content: center;
    margin: 4px 0;
}

.sbn-modal-related-card .sbn-modal-related-diagram .sbn-fretboard-mini {
    max-width: 80px;
}

.sbn-modal-related-card .sbn-modal-related-inv {
    font-size: 10px;
    color: #a0aec0;
    margin-top: 4px;
}

.sbn-modal-related-card .sbn-modal-related-pop {
    font-size: 9px;
    color: #e85d3b;
    margin-top: 2px;
}

/* Coming soon placeholder */
.sbn-modal-coming-soon {
    font-size: 13px;
    color: #cbd5e0;
    text-align: center;
    padding: 16px;
    border: 1px dashed #e2e8f0;
    border-radius: 8px;
}

/* Loading state */
.sbn-modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    color: #718096;
    font-size: 13px;
}

.sbn-modal-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-top-color: #e85d3b;
    border-radius: 50%;
    animation: sbn-modal-spin 0.6s linear infinite;
}

@keyframes sbn-modal-spin {
    to { transform: rotate(360deg); }
}

/* Modal responsive */
@media (max-width: 768px) {
    .sbn-modal {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 12px 12px 0 0;
        margin-top: auto;
    }
    
    .sbn-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }
    
    .sbn-modal-header {
        padding: 20px 20px 0;
    }
    
    .sbn-modal-body {
        padding: 0 20px 20px;
    }
    
    .sbn-modal-diagram-row {
        flex-direction: column;
        align-items: center;
        padding: 16px 20px;
    }
    
    .sbn-modal-diagram .sbn-chord-fretboard {
        transform: scale(1.2);
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .sbn-modal-meta-tags {
        justify-content: center;
    }
    
    .sbn-modal-related-grid {
        grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    }
}

@media (max-width: 768px) {
    .sbn-chord-library-main {
        padding: 30px 15px;
    }
    
    .sbn-library-title {
        font-size: 32px;
    }
    
    .sbn-chords-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .sbn-chords-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
}

/* ============================================================
   POPULARITY INDICATOR
   Shown in modal tag, related voicings mini card
   ============================================================ */

.sbn-pop-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
}

.sbn-pop-dots {
    display: inline-flex;
    gap: 3px;
    align-items: center;
}

.sbn-pop-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e2e8f0;
    display: inline-block;
    transition: background 0.2s;
}

/* Tier colors for filled dots */
.sbn-pop-occasional .sbn-pop-dot.filled { background: #a0aec0; }
.sbn-pop-common     .sbn-pop-dot.filled { background: #3182ce; }
.sbn-pop-essential  .sbn-pop-dot.filled { background: #e85d3b; }
.sbn-pop-iconic     .sbn-pop-dot.filled { background: #d69e2e; }

.sbn-pop-label {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.sbn-pop-count {
    font-weight: 400;
    color: #718096;
}

/* Tier label colors */
.sbn-pop-occasional .sbn-pop-label { color: #718096; }
.sbn-pop-common     .sbn-pop-label { color: #3182ce; }
.sbn-pop-essential  .sbn-pop-label { color: #e85d3b; }
.sbn-pop-iconic     .sbn-pop-label { color: #d69e2e; }

/* Modal tag inherits the indicator layout */
.sbn-modal-tag-popularity {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    background: #fffff0;
    border: 1px solid #faf089;
}

/* Related voicings pop — dots only (compact) */
.sbn-modal-related-pop {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.sbn-modal-related-pop .sbn-pop-dots {
    gap: 2px;
}

.sbn-modal-related-pop .sbn-pop-dot {
    width: 5px;
    height: 5px;
}
