    
        /* Tracker Navigation */
        .tracker-nav { background: #f8fafc; border-bottom: 1px solid #e5e7eb; }
        .tracker-nav-content { max-width: 1400px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-start; }
        .tracker-nav-btn { display: inline-block; padding: 8px 16px; background: white; color: #004559; text-decoration: none; border-radius: 6px; font-size: 13px; font-weight: 500; border: 1px solid #e5e7eb; transition: all 150ms ease; font-family: 'Inter', -apple-system, sans-serif; }
        .tracker-nav-btn:hover { background: #f0f9ff; border-color: #004559; }
        .tracker-nav-btn.active { background: #c8eb5b; color: black; border-color: #004559; }
        .tracker-nav-switch { background: linear-gradient(135deg, #00a0d2 0%, #0087b5 100%); color: white; border: none; }
        .tracker-nav-switch:hover { background: linear-gradient(135deg, #0087b5 0%, #006d93 100%); color: white; }
        .tracker-nav-divider { color: #d1d5db; font-size: 18px; margin: 0 4px; }
        @media (max-width: 768px) {
            .tracker-nav-content { gap: 6px; padding: 10px 15px; }
            .tracker-nav-btn { padding: 5px 8px; font-size: 0.7rem; }
            .tracker-nav-divider { display: none; }
            .tracker-nav-switch { width: 100%; text-align: center; margin-top: 4px; }
        }
        
        /* Priority buttons - inline on mobile */
        .priority-buttons {
            display: flex;
            gap: 8px;
            margin: 16px 0;
            flex-wrap: nowrap;
        }
        
        .priority-btn {
            flex: 1;
            padding: 12px 8px;
            border: 2px solid #e5e7eb;
            background: white;
            border-radius: 8px;
            font-family: inherit;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 150ms;
            text-align: center;
            white-space: nowrap;
        }
        
        .priority-btn:hover {
            border-color: #004559;
            background: #f0f9ff;
        }
        
        .priority-btn.active {
            background: #004559;
            color: white;
            border-color: #004559;
        }
        
        /* Desktop table styles */
        .price-leaderboard-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        .price-leaderboard-table th,
        .price-leaderboard-table td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .price-leaderboard-table th {
            background: #f9fafb;
            font-weight: 600;
            font-size: 13px;
            color: #374151;
        }
        
        .price-leaderboard-table th:first-child {
            text-align: left;
            padding-left: 16px;
        }
        
        .price-leaderboard-table td:first-child {
            text-align: left;
            padding-left: 16px;
            font-weight: 600;
            color: #004559;
        }
        
        .price-cell {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
        }
        
        .price-leaderboard-table td {
            text-align: left;
            vertical-align: middle;
        }
        
        .price-cell-pharmacy {
            font-size: 11px;
            color: #6b7280;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .price-cell-price {
            font-size: 15px;
            font-weight: 700;
            color: #004559;
        }
        
        .rank-badge-small {
            display: inline-block;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            font-size: 11px;
            font-weight: 700;
            line-height: 20px;
            text-align: center;
            margin-right: 4px;
        }
        
        .rank-1-badge { background: #fbbf24; color: white; }
        .rank-2-badge { background: #d1d5db; color: #1f2937; }
        .rank-3-badge { background: #fb923c; color: white; }
        
        .compare-selector {
            background: #f0f9ff;
            border: 2px solid #bfdbfe;
            border-radius: 8px;
            padding: 16px;
            margin-top: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }
        
        .compare-selector label {
            font-weight: 600;
            color: #004559;
            font-size: 14px;
        }
        
        .compare-selector select {
            padding: 8px 12px;
            border: 2px solid #bfdbfe;
            border-radius: 6px;
            font-family: inherit;
            font-size: 14px;
            background: white;
            cursor: pointer;
            flex: 1;
            min-width: 200px;
        }
        
        .compare-selector button {
            padding: 8px 20px;
            background: #004559;
            color: white;
            border: none;
            border-radius: 6px;
            font-family: inherit;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 150ms;
        }
        
        .compare-selector button:hover {
            background: #003344;
        }
        
        .compare-clear-btn {
            background: #ef4444 !important;
            padding: 8px 16px !important;
        }
        
        .compare-clear-btn:hover {
            background: #dc2626 !important;
        }
        
        .compare-column {
            background: #fef3c7;
        }
        
        .compare-column-header {
            background: #fde68a !important;
        }
        
        .compare-rank-indicator {
            font-size: 10px;
            color: #92400e;
            font-weight: 600;
            margin-top: 2px;
        }
        
        /* Leaderboard items for rating/reviews */
        .leaderboard-container {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .leaderboard-item {
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            padding: 16px;
            display: flex;
            align-items: center;
            gap: 16px;
        }
        
        .leaderboard-item:first-child {
            border-color: #fbbf24;
            background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
        }
        
        .leaderboard-item:nth-child(2) {
            border-color: #d1d5db;
            background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
        }
        
        .leaderboard-item:nth-child(3) {
            border-color: #fb923c;
            background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
        }
        
        .leaderboard-rank {
            font-size: 24px;
            font-weight: 700;
            color: #004559;
            min-width: 50px;
            text-align: center;
        }
        
        .leaderboard-info {
            flex: 1;
        }
        
        .leaderboard-name {
            font-weight: 600;
            color: #004559;
            font-size: 16px;
            margin-bottom: 4px;
        }
        
        .leaderboard-value {
            font-size: 24px;
            font-weight: 700;
            color: #10b981;
            text-align: right;
        }
        
        /* Mobile card view for price leaderboard */
        .mobile-price-cards {
            display: none;
        }
        
        .dose-card {
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            margin-bottom: 16px;
            overflow: hidden;
        }
        
        .dose-card-header {
            background: #004559;
            color: white;
            padding: 12px 16px;
            font-weight: 700;
            font-size: 16px;
        }
        
        .dose-card-body {
            padding: 0;
        }
        
        .dose-rank-item {
            display: flex;
            align-items: center;
            padding: 12px 16px;
            border-bottom: 1px solid #e5e7eb;
            gap: 12px;
        }
        
        .dose-rank-item:last-child {
            border-bottom: none;
        }
        
        .dose-rank-item.rank-1 {
            background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
        }
        
        .dose-rank-item.rank-2 {
            background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
        }
        
        .dose-rank-item.rank-3 {
            background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
        }
        
        .dose-rank-badge {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            flex-shrink: 0;
        }
        
        .dose-rank-badge.gold { background: #fbbf24; color: white; }
        .dose-rank-badge.silver { background: #d1d5db; color: #1f2937; }
        .dose-rank-badge.bronze { background: #fb923c; color: white; }
        .dose-rank-badge.other { background: #e5e7eb; color: #6b7280; }
        
        .dose-rank-info {
            flex: 1;
        }
        
        .dose-rank-pharmacy {
            font-weight: 600;
            color: #004559;
            font-size: 14px;
        }
        
        .dose-rank-meta {
            font-size: 11px;
            color: #6b7280;
            margin-top: 2px;
        }
        
        .dose-rank-price {
            font-size: 18px;
            font-weight: 700;
            color: #004559;
        }
        
        /* Compare card on mobile */
        .dose-rank-item.compare-item {
            background: #fef3c7;
            border-top: 2px solid #f59e0b;
        }
        
        .compare-rank-label {
            font-size: 10px;
            color: #92400e;
            font-weight: 600;
        }
        
        /* Desktop table container */
        .desktop-table {
            display: block;
        }
        
        @media (max-width: 768px) {
            .priority-btn {
                padding: 10px 6px;
                font-size: 11px;
            }
            
            .priority-btn .btn-emoji {
                display: block;
                font-size: 16px;
                margin-bottom: 4px;
            }
            
            .desktop-table {
                display: none;
            }
            
            .mobile-price-cards {
                display: block;
            }
            
            .compare-selector {
                flex-direction: column;
                align-items: stretch;
                padding: 12px;
            }
            
            .compare-selector label {
                font-size: 13px;
            }
            
            .compare-selector select {
                min-width: 100%;
                font-size: 13px;
            }
            
            .compare-selector button {
                width: 100%;
                padding: 10px;
            }
            
            .leaderboard-item {
                padding: 12px;
                gap: 12px;
            }
            
            .leaderboard-rank {
                font-size: 20px;
                min-width: 40px;
            }
            
            .leaderboard-name {
                font-size: 14px;
            }
            
            .leaderboard-value {
                font-size: 20px;
            }
            
            .section-title {
                font-size: 16px !important;
            }
        }
    

/* Pharmacy name links in leaderboard/calculator */
.leaderboard-pharmacy-link {
    color: inherit;
    text-decoration: none;
    transition: color 150ms ease;
}
.leaderboard-pharmacy-link:hover {
    color: #00a0d2;
    text-decoration: underline;
}
